Re: [PATCH 5/5] PCI/P2PDMA: Gate the host bridge whitelist warning on verbose

From: Bjorn Helgaas

Date: Tue Sep 08 2026 - 22:19:39 EST


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.

There are similar "blacklist" uses in pci.c, aspm.c, and vpd.c.