Re: [PATCH 0/3] uio/dma-buf: Give UIO users access to DMA addresses.

Christoph Hellwig
2025-04-14T05:55:04Z

On Thu, Apr 10, 2025 at 04:53:17PM +0200, Bastien Curutchet wrote:
> Hi all,
>
> Many UIO users performing DMA from their UIO device need to access the
> DMA addresses of the allocated buffers. There are out-of-tree drivers
> that allow to do it but nothing in the mainline.

In which case it does not matter at all for mainline.

FYI the proper and safe way to do DMA from userspace is to use
vfio/iommufd.