aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
diff options
context:
space:
mode:
authorMike Marciniszyn <[email protected]>2023-11-29 20:21:42 +0000
committerJason Gunthorpe <[email protected]>2023-12-05 00:02:41 +0000
commit0a5ec366de7e94192669ba08de6ed336607fd282 (patch)
tree2f7e3dc03e630ca2ce1914cbb05e3bdc481d819b /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
parentRDMA/core: Fix umem iterator when PAGE_SIZE is greater then HCA pgsz (diff)
downloadkernel-0a5ec366de7e94192669ba08de6ed336607fd282.tar.gz
kernel-0a5ec366de7e94192669ba08de6ed336607fd282.zip
RDMA/irdma: Ensure iWarp QP queue memory is OS paged aligned
The SQ is shared for between kernel and used by storing the kernel page pointer and passing that to a kmap_atomic(). This then requires that the alignment is PAGE_SIZE aligned. Fix by adding an iWarp specific alignment check. Fixes: e965ef0e7b2c ("RDMA/irdma: Split QP handler into irdma_reg_user_mr_type_qp") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mike Marciniszyn <[email protected]> Signed-off-by: Shiraz Saleem <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions