Re: [PATCH v5 3/3] PCI/P2PDMA: Allow P2PDMA on Intel Xeon server CPUs
From: David Laight
Date: Mon Nov 16 2026 - 06:28:36 EST
On Sun, 15 Nov 2026 22:22:25 -0800
Christoph Hellwig <hch@xxxxxxxxxxxxx> 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)
>
Isn't it a motherboard issue?
Since it depends on all the PCIe bridges on the motherboard.
IIRC P2P can also deadlock under load.
So it needs to be use with extreme care.
David