Re: [PATCH 0/3] uio/dma-buf: Give UIO users access to DMA addresses.
From: Christoph Hellwig
Date: Mon Apr 14 2025 - 01:55:13 EST
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.