RDMA/erdma: Add non-4K page size support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 20 repliesIn review
- v12 patches 2 repliesSuperseded
v2 -> v1 from the cover letter
- Add fixes line in the first patch.
- Update commit description of the two patches.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | RDMA/erdma: Use fixed hardware page sizedrivers/ drivers/ | +13 | 1 reply | |
| 2/2 | RDMA/erdma: Support non-4K page size in doorbell allocationdrivers/ drivers/ include/ | +23 | 19 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH for-next v2 0/2] RDMA/erdma: Add non-4K page size support
Hi,
This series introduces non-4K page size support. For some aarch64 distributions, the default page size is 64K, not 4K. Current erdma can not work correctly for these systems. There are two reasons: one is that the kernel driver passes the kernel's page size to HW, but HW always treats 4K as the basic page size. Another reason is that the user space provider always uses 4K to map the doorbell space which is not right if page size is not 4K.
So, we fix these issues in this patchset:
- #1 fixes the issue that put wrong value in CMD to HW if PAGE_SIZE is not 4096.
- #2 returns the necessary information for userspace to call mmap. This commit requires changes in userspace provider. PR is [1].
v2 -> v1:
- Add fixes line in the first patch.
- Update commit description of the two patches.
Thanks,
Cheng Xu
[1] https://github.com/linux-rdma/rdma-core/pull/1313
Cheng Xu (2):
RDMA/erdma: Use fixed hardware page size RDMA/erdma: Support non-4K page size in doorbell allocation
drivers/infiniband/hw/erdma/erdma_hw.h | 4 ++ drivers/infiniband/hw/erdma/erdma_verbs.c | 57 +++++++++++------------ drivers/infiniband/hw/erdma/erdma_verbs.h | 5 +- include/uapi/rdma/erdma-abi.h | 5 +- 4 files changed, 36 insertions(+), 35 deletions(-)
Signature · 1 line
2.31.1