Re: [PATCH RFC] rxe: Fix iova-to-va conversion for MR page sizes != PAGE_SIZE
From: Zhijian Li (Fujitsu)
Date: Mon Dec 29 2025 - 23:47:12 EST
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.
Thanks
Zhijian
>
> I did not make tests with blktest.