summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/include/asm/pgalloc.h
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2016-06-22 16:27:32 +0200
committerDoug Ledford <dledford@redhat.com>2016-06-23 16:08:25 +0200
commitcbc9355a939b90263c58beb855f8151b56634c42 (patch)
treeea1fd06536ef0e7b98761cbf52b0b355dcbc6895 /arch/microblaze/include/asm/pgalloc.h
parentIB/mlx4: Fix memory leak if QP creation failed (diff)
downloadlinux-cbc9355a939b90263c58beb855f8151b56634c42.tar.xz
linux-cbc9355a939b90263c58beb855f8151b56634c42.zip
IB/mlx4: Prevent cross page boundary allocation
Prevent cross page boundary allocation by allocating new page, this is required to be aligned with ConnectX-3 HW requirements. Not doing that might cause to "RDMA read local protection" error. Fixes: 1b2cd0fc673c ('IB/mlx4: Support the new memory registration API') Suggested-by: Christoph Hellwig <hch@infradead.org> Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Yishai Hadas <yishaih@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'arch/microblaze/include/asm/pgalloc.h')
0 files changed, 0 insertions, 0 deletions