Re: [PATCH v6 05/11] PCI/P2PDMA: Document DMABUF model
From: Leon Romanovsky
Date: Mon Nov 03 2025 - 03:13:46 EST
On Sun, Nov 02, 2025 at 10:16:59AM -0800, Randy Dunlap wrote:
>
>
> On 11/2/25 1:00 AM, Leon Romanovsky wrote:
> > From: Jason Gunthorpe <jgg@xxxxxxxxxx>
> >
> > Reflect latest changes in p2p implementation to support DMABUF lifecycle.
> >
> > Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxx>
> > Signed-off-by: Jason Gunthorpe <jgg@xxxxxxxxxx>
> > ---
> > Documentation/driver-api/pci/p2pdma.rst | 95 +++++++++++++++++++++++++--------
> > 1 file changed, 72 insertions(+), 23 deletions(-)
<...>
> > +guarentee that the consuming driver has stopped using the MMIO during a removal
>
> guarantee
<...>
> > +if are used with mmap() must create special PTEs. As such there are very few
>
> if used
<...>
> > +pggmap of MEMORY_DEVICE_PCI_P2PDMA to create struct pages. The lifecylce of
>
> pgmap ? lifecycle
<...>
> > +architectures, others will experiance corruption or just crash in the kernel.
>
> experience
<...>
> > +In this case the initator and target pci_devices are known and the P2P subsystem
>
> initiator
<...>
> > +exporting driver has destroyed it's p2p_provider.
> its
Thanks a lot, fixed.
>
> --
> ~Randy
>
>