All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 for-rc 0/3] Fixes for 64K page size support
@ 2023-11-29 20:21 Shiraz Saleem
  2023-11-29 20:21 ` [PATCH v2 for-rc 1/3] RDMA/core: Fix umem iterator when PAGE_SIZE is greater then HCA pgsz Shiraz Saleem
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Shiraz Saleem @ 2023-11-29 20:21 UTC (permalink / raw)
  To: jgg, leon; +Cc: linux-rdma, Shiraz Saleem

This is a three patch series.

The first core hunk corrects the core iterator to use __sg_advance to skip
preceding 4k HCA pages.

The second patch corrects an iWarp issue where the SQ must be PAGE_SIZE
aligned.

The third patch corrects an issue with the RDMA driver use of
ib_umem_find_best_pgsz(). QP and CQ allocations pass PAGE_SIZE as the
only bitmap bit. This is incorrect and should use the precise 4k value.

v1->v2: Add a umem specific block iter next function

Mike Marciniszyn (3):
  RDMA/core: Fix umem iterator when PAGE_SIZE is greater then HCA pgsz
  RDMA/irdma: Ensure iWarp QP queue memory is OS paged aligned
  RDMA/irdma: Fix support for 64k pages

 drivers/infiniband/core/umem.c      | 6 ------
 drivers/infiniband/hw/irdma/verbs.c | 7 ++++++-
 include/rdma/ib_umem.h              | 9 ++++++++-
 include/rdma/ib_verbs.h             | 1 +
 4 files changed, 15 insertions(+), 8 deletions(-)

-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-12-04 23:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-29 20:21 [PATCH v2 for-rc 0/3] Fixes for 64K page size support Shiraz Saleem
2023-11-29 20:21 ` [PATCH v2 for-rc 1/3] RDMA/core: Fix umem iterator when PAGE_SIZE is greater then HCA pgsz Shiraz Saleem
2023-11-29 20:40   ` Jason Gunthorpe
2023-11-29 20:21 ` [PATCH v2 for-rc 2/3] RDMA/irdma: Ensure iWarp QP queue memory is OS paged aligned Shiraz Saleem
2023-11-29 20:21 ` [PATCH v2 for-rc 3/3] RDMA/irdma: Fix support for 64k pages Shiraz Saleem
2023-12-04 23:54 ` [PATCH v2 for-rc 0/3] Fixes for 64K page size support Jason Gunthorpe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.