Re: [PATCH RFC] rxe: Fix iova-to-va conversion for MR page sizes != PAGE_SIZE

From: Zhu Yanjun
Date: Mon Dec 29 2025 - 23:58:04 EST



在 2025/12/29 20:47, Zhijian Li (Fujitsu) 写道:
Hi Yanjun,


On 30/12/2025 12:02, Zhu Yanjun wrote:
Hi, Yi

The mentioned testcase, the link is:
https://lore.kernel.org/all/CAHj4cs9XRqE25jyVw9rj9YugffLn5+f=1znaBEnu1usLOciD+g@xxxxxxxxxxxxxx/T/

Can you help to make tests to verify whether this problem is fixed or not?

On x86_64 hosts, after this commit is applied, all the testcases in rdma-core can pass. But in Fedora Core 42 with ARM64 architecture,

there are some errors with rdma-core.

Many thanks for your testing.

This commit should only affect IB_MR_TYPE_MEM_REG MRs, which are exposed to the
Upper Layer Protocol (ULP) in the current kernel.

Since rdma-core typically utilizes IB_MR_TYPE_USER(mr.page_size always same with PAGE_SIZE), it should not be impacted.

Got it. No worry. If this commit can pass Yi's tests, I will make tests again.

Let us wait for Yi's test results.

Thanks a lot for your efforts.

Zhu Yanjun


Thanks
Zhijian

I did not make tests with blktest.

--
Best Regards,
Yanjun.Zhu