[PATCH v7 3/6] iio: core: Add new DMABUF interface infrastructure

2024-02-23 Thread Nuno Sa
to be performed on the IIO buffer's file descriptor, obtained using the IIO_BUFFER_GET_FD_IOCTL() ioctl. Signed-off-by: Paul Cercueil Signed-off-by: Nuno Sa --- drivers/iio/industrialio-buffer.c | 462 ++ include/linux/iio/buffer_impl.h | 33 +++ in

[PATCH v7 6/6] Documentation: iio: Document high-speed DMABUF based API

2024-02-23 Thread Nuno Sa
From: Paul Cercueil Document the new DMABUF based API. Signed-off-by: Paul Cercueil Signed-off-by: Nuno Sa --- Documentation/iio/dmabuf_api.rst | 54 Documentation/iio/index.rst | 2 ++ 2 files changed, 56 insertions(+) diff --git a

[PATCH v7 1/6] dmaengine: Add API function dmaengine_prep_peripheral_dma_vec()

2024-02-23 Thread Nuno Sa
it assumes that the address of each segment will be higher than the one of the previous segment, which we just cannot guarantee in case of a scatter-gather transfer. Signed-off-by: Paul Cercueil Signed-off-by: Nuno Sa --- include/linux/dmaengine.h | 27 +++ 1 file changed

[PATCH v7 4/6] iio: buffer-dma: Enable support for DMABUFs

2024-02-23 Thread Nuno Sa
From: Paul Cercueil Implement iio_dma_buffer_attach_dmabuf(), iio_dma_buffer_detach_dmabuf() and iio_dma_buffer_transfer_dmabuf(), which can then be used by the IIO DMA buffer implementations. Signed-off-by: Paul Cercueil Signed-off-by: Nuno Sa --- drivers/iio/buffer/industrialio-buffer

[PATCH v7 0/6] iio: new DMABUF based API

2024-02-23 Thread Nuno Sa
Hi Jonathan, likely you're wondering why I'm sending v7. Well, to be honest, we're hoping to get this merged this for the 6.9 merge window. Main reason is because the USB part is already in (so it would be nice to get the whole thing in). Moreover, the changes asked in v6 were simple (even though I

[PATCH v7 2/6] dmaengine: dma-axi-dmac: Implement device_prep_peripheral_dma_vec

2024-02-23 Thread Nuno Sa
From: Paul Cercueil Add implementation of the .device_prep_peripheral_dma_vec() callback. Signed-off-by: Paul Cercueil Signed-off-by: Nuno Sa --- drivers/dma/dma-axi-dmac.c | 40 1 file changed, 40 insertions(+) diff --git a/drivers/dma/dma-axi

[PATCH v7 5/6] iio: buffer-dmaengine: Support new DMABUF based userspace API

2024-02-23 Thread Nuno Sa
converted to an array of DMA addresses + lengths, which is then passed to dmaengine_prep_slave_dma_array(). Signed-off-by: Paul Cercueil Signed-off-by: Nuno Sa --- drivers/iio/buffer/industrialio-buffer-dmaengine.c | 59 +++--- 1 file changed, 53 insertions(+), 6 deletions(-) diff

Re: [PHP] Qmail problem

2001-03-09 Thread Nuno Sa e Silva
hi, you can use the sendmail wrapper as instructed in the qmail docs. if you want to use qmail-inject try: good luck, Nuno Silva - Original Message - From: "pete collins" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 09, 2001 2:07 PM Subject: Re: [PHP] Qmail problem