[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251103080518.GB50752@unreal>
Date: Mon, 3 Nov 2025 10:05:18 +0200
From: Leon Romanovsky <leon@...nel.org>
To: Randy Dunlap <rdunlap@...radead.org>
Cc: Bjorn Helgaas <bhelgaas@...gle.com>,
Logan Gunthorpe <logang@...tatee.com>, Jens Axboe <axboe@...nel.dk>,
Robin Murphy <robin.murphy@....com>, Joerg Roedel <joro@...tes.org>,
Will Deacon <will@...nel.org>,
Marek Szyprowski <m.szyprowski@...sung.com>,
Jason Gunthorpe <jgg@...pe.ca>,
Andrew Morton <akpm@...ux-foundation.org>,
Jonathan Corbet <corbet@....net>,
Sumit Semwal <sumit.semwal@...aro.org>,
Christian König <christian.koenig@....com>,
Alex Williamson <alex.williamson@...hat.com>,
Kees Cook <kees@...nel.org>,
"Gustavo A. R. Silva" <gustavoars@...nel.org>,
Ankit Agrawal <ankita@...dia.com>,
Yishai Hadas <yishaih@...dia.com>,
Shameer Kolothum <skolothumtho@...dia.com>,
Kevin Tian <kevin.tian@...el.com>,
Krishnakant Jaju <kjaju@...dia.com>, Matt Ochs <mochs@...dia.com>,
linux-pci@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-block@...r.kernel.org, iommu@...ts.linux.dev,
linux-mm@...ck.org, linux-doc@...r.kernel.org,
linux-media@...r.kernel.org, dri-devel@...ts.freedesktop.org,
linaro-mm-sig@...ts.linaro.org, kvm@...r.kernel.org,
linux-hardening@...r.kernel.org
Subject: Re: [PATCH v6 05/11] PCI/P2PDMA: Document DMABUF model
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@...dia.com>
> >
> > Reflect latest changes in p2p implementation to support DMABUF lifecycle.
> >
> > Signed-off-by: Leon Romanovsky <leonro@...dia.com>
> > Signed-off-by: Jason Gunthorpe <jgg@...dia.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
>
>
Powered by blists - more mailing lists