From: sashiko-bot@kernel.org
To: "Koichiro Den" <den@valinux.co.jp>
Cc: linux-pci@vger.kernel.org, ntb@lists.linux.dev
Subject: Re: [PATCH 1/3] PCI: endpoint: Support hardware-owned MSI-X table and PBA
Date: Thu, 27 Aug 2026 18:27:54 +0000 [thread overview]
Message-ID: <20260827182755.26B651F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260827182012.1984960-2-den@valinux.co.jp>
> Some endpoint controllers expose the MSI-X table and Pending Bit Array
> (PBA) in fixed, hardware-owned BAR regions. The EPC set_msix() callback
> currently receives only the table BAR and offset and assumes that the PBA
> immediately follows the table in the same BAR. It cannot describe a fixed
> layout whose table and PBA have independent locations.
>
> Add struct pci_epc_msix_layout and pass the full layout to
> pci_epc_set_msix(). Leave layout selection to EPF implementations. For
> instance, pci-epf-ntb reads the MSI-X Table from its own BAR. Using a
> fixed layout there would require a way to read hardware-owned Table
> entries. Add pci_epc_get_hw_msix_layout() for EPFs that want the fixed
> layout. Update the existing callers and validate the supplied layout.
>
> Signed-off-by: Koichiro Den <den@valinux.co.jp>
Sashiko has reviewed this patch and found no issues. It looks great!
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260827182012.1984960-1-den@valinux.co.jp?part=1
next prev parent reply other threads:[~2026-08-27 18:27 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-27 18:20 [PATCH 0/3] PCI: endpoint: Support hardware-owned MSI-X table and PBA Koichiro Den
2026-08-27 18:20 ` [PATCH 1/3] " Koichiro Den
2026-08-27 18:27 ` sashiko-bot [this message]
2026-08-27 18:20 ` [PATCH 2/3] PCI: dw-rockchip: Support fixed MSI-X table and PBA on RK3588 Koichiro Den
2026-08-27 18:41 ` sashiko-bot
2026-08-27 18:20 ` [PATCH 3/3] PCI: endpoint: pci-epf-vntb: Honor MSI-X selection Koichiro Den
2026-08-27 19:04 ` sashiko-bot
2026-08-27 19:23 ` Frank Li
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=20260827182755.26B651F000E9@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=den@valinux.co.jp \
--cc=linux-pci@vger.kernel.org \
--cc=ntb@lists.linux.dev \
--cc=sashiko-reviews@lists.linux.dev \
/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