Re: [PATCH 0/2] IB/hfi1: fix the PIO_CRED credit-return mmap
From: Leon Romanovsky
Date: Tue Sep 01 2026 - 10:27:25 EST
On Sun, 09 Aug 2026 12:27:41 +0900, Shuhei Takeshita wrote:
> The PIO_CRED case of hfi1_file_mmap() hands user space the credit-return
> page for its send context. On a two-socket host with a translating IOMMU
> it instead returns a page mapped from a frame above MAXPHYADDR, and the
> first user read takes "Corrupted page table" / "Oops: Bad pagetable".
> Correcting only the offset arithmetic replaces the Oops with a silent
> wrong-page mapping, so every transfer that uses send PIO hangs instead.
>
> [...]
Applied, thanks!
[1/2] IB/hfi1: Resolve the credit-return buffer through the send context's node
https://git.kernel.org/rdma/rdma/c/975396b9e5a402
[2/2] IB/hfi1: Fix the PIO_CRED credit-return mmap
https://git.kernel.org/rdma/rdma/c/62f0f34fbd2b2d
Best regards,
--
Leon Romanovsky <leon@xxxxxxxxxx>