Re: [PATCH v6 05/11] PCI/P2PDMA: Document DMABUF model

Leon Romanovsky
2025-11-03T08:05:26Z

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@nvidia.com>
> >
> > Reflect latest changes in p2p implementation to support DMABUF lifecycle.
> >
> > Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
> > Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
> > ---
> > 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
>
>