From: Leon Romanovsky <leon@kernel.org>
To: dennis.dalessandro@cornelisnetworks.com, jgg@ziepe.ca,
Shuhei Takeshita <jyohuku.alterego@gmail.com>
Cc: linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org,
dean.luick@cornelisnetworks.com
Subject: Re: [PATCH 0/2] IB/hfi1: fix the PIO_CRED credit-return mmap
Date: Tue, 01 Sep 2026 09:28:06 -0400 [thread overview]
Message-ID: <178826928647.1339788.4877014218833537243.b4-ty@kernel.org> (raw)
In-Reply-To: <20260809032743.2671579-1-jyohuku.alterego@gmail.com>
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@kernel.org>
prev parent reply other threads:[~2026-09-01 13:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-09 3:27 [PATCH 0/2] IB/hfi1: fix the PIO_CRED credit-return mmap Shuhei Takeshita
2026-08-09 3:27 ` [PATCH 1/2] IB/hfi1: Resolve the credit-return buffer through the send context's node Shuhei Takeshita
2026-08-09 3:27 ` [PATCH 2/2] IB/hfi1: Fix the PIO_CRED credit-return mmap Shuhei Takeshita
2026-09-01 13:28 ` Leon Romanovsky [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178826928647.1339788.4877014218833537243.b4-ty@kernel.org \
--to=leon@kernel.org \
--cc=dean.luick@cornelisnetworks.com \
--cc=dennis.dalessandro@cornelisnetworks.com \
--cc=jgg@ziepe.ca \
--cc=jyohuku.alterego@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox