diff options
| author | Mike Marciniszyn <[email protected]> | 2023-11-29 20:21:42 +0000 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2023-12-05 00:02:41 +0000 |
| commit | 0a5ec366de7e94192669ba08de6ed336607fd282 (patch) | |
| tree | 2f7e3dc03e630ca2ce1914cbb05e3bdc481d819b /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
| parent | RDMA/core: Fix umem iterator when PAGE_SIZE is greater then HCA pgsz (diff) | |
| download | kernel-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
