Re: [PATCH 3/3] uio: Add UIO_DMABUF_HEAP

2025-04-11 Thread Nicolas Dufresne
Hi Bastien, Le jeudi 10 avril 2025 à 16:53 +0200, Bastien Curutchet a écrit : > Some UIO users need to access DMA addresses from userspace to be able to > configure DMA done by the UIO device. Currently there is no way of doing > this. > > Add a UIO_DMABUF_HEAP Kconfig option. When selected, a dm

[PATCH 3/3] uio: Add UIO_DMABUF_HEAP

2025-04-10 Thread Bastien Curutchet
Some UIO users need to access DMA addresses from userspace to be able to configure DMA done by the UIO device. Currently there is no way of doing this. Add a UIO_DMABUF_HEAP Kconfig option. When selected, a dma-heap allocator is created for every new UIO device. This allocator only implements 4 ba