[PATCH 0/4] cover-letter: Allow MMIO regions to be exported through dmabuf
Simona Vetter
simona.vetter at ffwll.ch
Wed Dec 18 10:44:39 UTC 2024
On Tue, Dec 17, 2024 at 10:53:32AM +0100, Christian König wrote:
> Am 16.12.24 um 17:54 schrieb Keith Busch:
> > On Mon, Dec 16, 2024 at 11:21:39AM +0100, Christian König wrote:
> > > Am 16.12.24 um 10:54 schrieb Wei Lin Guay:
> > > > From: Wei Lin Guay <wguay at meta.com>
> > > > However, as a general mechanism, it can support many other scenarios with
> > > > VFIO. I imagine this dmabuf approach to be usable by iommufd as well for
> > > > generic and safe P2P mappings.
> > > >
> > > > This series goes after the "Break up ioctl dispatch functions to one
> > > > function per ioctl" series.
> > > Yeah that sounds like it should work.
> > >
> > > But where is the rest of the series, I only see the cover letter?
> > Should be here:
> >
> > https://lore.kernel.org/linux-rdma/20241216095429.210792-2-wguay@fb.com/T/#u
>
> Please send that out once more with me on explicit CC.
>
> Apart from that I have to reject the adding of dma_buf_try_get(), that is
> clearly not something we should do.
Yeah if we do try_get it would need to be at least on a specific dma_buf
type (so checking for dma_buf->ops), since in general this does not work
(unless we add the general code in dma_buf.c somehow to make it work).
Aside from any other design concerns.
-Sima
--
Simona Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
More information about the dri-devel
mailing list