Re: [PATCH v2 1/9] PCI/P2PDMA: Add CONFIG_PCI_P2PDMA_CORE
From: Jason Gunthorpe
Date: Fri May 29 2026 - 19:08:22 EST
On Wed, May 27, 2026 at 03:09:46PM -0600, Alex Williamson wrote:
> This deserves a /* CONFIG_PCI_P2PDMA */ reference like the previous
> long span, though potentially a better solution would be to split the
> core code out to a separate file with shared header. I asked opus to
> see what this would look like and it generated the patch below
> (unverified, compile tested only). Bigger diff, harder to follow
> blame, but the shape of the core is much more apparent. You're welcome
> to take or leave it.
I think it is a good idea, it will make it easier to add more stuff to
these different aspects.
Really they are now two different things with one layered on top of
the other.
Jason