Re: [PATCH v9 0/6] iio: new DMABUF based API
From: Jonathan Cameron
Date: Sun Mar 24 2024 - 07:11:00 EST
On Sun, 10 Mar 2024 13:48:29 +0100
Paul Cercueil <paul@xxxxxxxxxxxxxxx> wrote:
> Hi Jonathan,
>
> Here's the final-er version of the IIO DMABUF patchset.
>
> This v9 fixes the few issues reported by the kernel bot.
>
> This was based on next-20240308.
>
> Changelog:
>
> - [3/6]:
> - Select DMA_SHARED_BUFFER in Kconfig
> - Remove useless forward declaration of 'iio_dma_fence'
> - Import DMA-BUF namespace
> - Add missing __user tag to iio_buffer_detach_dmabuf() argument
Merge window is coming to an end, and whilst we obviously have
plenty of time left in this cycle, I would like to get this queued
up fairly early so any issues can shake out and the various series
that will build on this can progress.
Hopefully Paul has addressed all remaining comments.
So I'm looking for RB or Ack for DMABUF and dmaengine parts from
respective reviewers/maintainers.
Thanks
Jonathan
>
> Cheers,
> -Paul
>
> Paul Cercueil (6):
> dmaengine: Add API function dmaengine_prep_peripheral_dma_vec()
> dmaengine: dma-axi-dmac: Implement device_prep_peripheral_dma_vec
> iio: core: Add new DMABUF interface infrastructure
> iio: buffer-dma: Enable support for DMABUFs
> iio: buffer-dmaengine: Support new DMABUF based userspace API
> Documentation: iio: Document high-speed DMABUF based API
>
> Documentation/iio/iio_dmabuf_api.rst | 54 ++
> Documentation/iio/index.rst | 1 +
> drivers/dma/dma-axi-dmac.c | 40 ++
> drivers/iio/Kconfig | 1 +
> drivers/iio/buffer/industrialio-buffer-dma.c | 181 ++++++-
> .../buffer/industrialio-buffer-dmaengine.c | 59 ++-
> drivers/iio/industrialio-buffer.c | 462 ++++++++++++++++++
> include/linux/dmaengine.h | 27 +
> include/linux/iio/buffer-dma.h | 31 ++
> include/linux/iio/buffer_impl.h | 30 ++
> include/uapi/linux/iio/buffer.h | 22 +
> 11 files changed, 891 insertions(+), 17 deletions(-)
> create mode 100644 Documentation/iio/iio_dmabuf_api.rst
>