Re: [PATCH 5/5] PCI/P2PDMA: Gate the host bridge whitelist warning on verbose
From: Leon Romanovsky
Date: Thu Sep 10 2026 - 11:48:50 EST
On Tue, Sep 08, 2026 at 09:18:59PM -0500, Bjorn Helgaas wrote:
> On Sun, Aug 30, 2026 at 02:16:23PM +0300, Leon Romanovsky wrote:
> > From: Leon Romanovsky <leonro@xxxxxxxxxx>
> >
> > calc_map_type_and_dist() prints every other diagnostic under its verbose
> > argument, but reaches the "Host bridge not in P2PDMA whitelist" warning
> > through host_bridge_whitelist(), which it hands acs_redirects instead.
> > A caller that asked for a silent answer still gets the warning whenever
> > any port on the path has an ACS redirect bit set, the CPU is not
> > whitelisted by cpu_supports_p2pdma(), and the host bridge is not in
> > pci_p2pdma_whitelist[].
>
> Not in this series, but I would like to see the "whitelist" term
> removed from drivers/pci. p2pdma.c and pci-pf-stub.c are the only
> current uses, and I don't think a change would cause any API issue.
Let's do it after the "Fix ACS ..." series, please, just to reduce the
number of rebases on my side.
Thanks
>
> There are similar "blacklist" uses in pci.c, aspm.c, and vpd.c.
>