All of lore.kernel.org
 help / color / mirror / Atom feed
From: Leon Romanovsky <leon@kernel.org>
To: Bjorn Helgaas <helgaas@kernel.org>
Cc: Bjorn Helgaas <bhelgaas@google.com>,
	Logan Gunthorpe <logang@deltatee.com>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Jens Axboe <axboe@kernel.dk>, Chaitanya Kulkarni <kch@nvidia.com>,
	Jason Gunthorpe <jgg@ziepe.ca>, Ankit Agrawal <ankita@nvidia.com>,
	Alex Williamson <alex@shazbot.org>,
	linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org,
	Tushar Dave <tdave@nvidia.com>, Jason Gunthorpe <jgg@nvidia.com>
Subject: Re: [PATCH 5/5] PCI/P2PDMA: Gate the host bridge whitelist warning on verbose
Date: Thu, 10 Sep 2026 18:25:14 +0300	[thread overview]
Message-ID: <20260910152514.GT13683@unreal> (raw)
In-Reply-To: <20260909021859.GA159841@bhelgaas>

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@nvidia.com>
> > 
> > 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.
> 

  reply	other threads:[~2026-09-10 15:25 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-30 11:16 [PATCH 0/5] Batch of PCI peer-to-peer fixes Leon Romanovsky
2026-08-30 11:16 ` [PATCH 1/5] PCI/P2PDMA: Do not tear down the allocate attribute on registration failure Leon Romanovsky
2026-08-30 11:24   ` sashiko-bot
2026-08-30 11:16 ` [PATCH 2/5] PCI/P2PDMA: Wait for RCU readers before freeing state Leon Romanovsky
2026-08-30 11:23   ` sashiko-bot
2026-08-30 11:16 ` [PATCH 3/5] PCI/P2PDMA: Restrict the p2pmem search to pool backed providers Leon Romanovsky
2026-08-30 11:31   ` sashiko-bot
2026-08-30 11:16 ` [PATCH 4/5] PCI/P2PDMA: Safely terminate ACS redirect lists Leon Romanovsky
2026-08-30 11:22   ` sashiko-bot
2026-08-30 11:16 ` [PATCH 5/5] PCI/P2PDMA: Gate the host bridge whitelist warning on verbose Leon Romanovsky
2026-08-30 11:20   ` sashiko-bot
2026-09-09  2:18   ` Bjorn Helgaas
2026-09-10 15:25     ` Leon Romanovsky [this message]
2026-09-08  5:54 ` [PATCH 0/5] Batch of PCI peer-to-peer fixes Leon Romanovsky
2026-09-09  2:16 ` Bjorn Helgaas

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=20260910152514.GT13683@unreal \
    --to=leon@kernel.org \
    --cc=alex@shazbot.org \
    --cc=ankita@nvidia.com \
    --cc=axboe@kernel.dk \
    --cc=bhelgaas@google.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=helgaas@kernel.org \
    --cc=jgg@nvidia.com \
    --cc=jgg@ziepe.ca \
    --cc=kch@nvidia.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=logang@deltatee.com \
    --cc=tdave@nvidia.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.