Re: [PATCH v5 3/3] PCI/P2PDMA: Allow P2PDMA on Intel Xeon server CPUs

From: Leon Romanovsky

Date: Mon Nov 16 2026 - 09:16:37 EST


On Sun, Nov 15, 2026 at 10:22:25PM -0800, Christoph Hellwig wrote:
> On Wed, Nov 11, 2026 at 04:44:39PM -0700, Pavel Popov wrote:
> > #ifdef CONFIG_X86
> > +/* Intel Xeon CPUs whose host bridges support p2pdma */
> > +static const struct x86_cpu_id p2pdma_intel_cpu_ids[] = {
>
> Why is this in drivers/pci/ instead of behind a clean abstraction in
> arch code?
>
> (and the fact that the CPU vendors still haven't managed to provide
> a firmware interface to expose the P2P capabilities is just insane)

I'm not a CPU vendor, but I'm working on it.
https://lore.kernel.org/linux-pci/20260812-hmat-p2p-v1-0-75ac41380585@xxxxxxxxxx/
https://lpc.events/event/20/contributions/2508/

Thanks