Re: [PATCH v11 3/7] iio: core: Add new DMABUF interface infrastructure

2024-06-19 Thread Markus Elfring
>> … >>> +++ b/drivers/iio/industrialio-buffer.c >> … >>> +static void iio_buffer_dmabuf_release(struct kref *ref) >>> +{ >> … >>> + dma_resv_lock(dmabuf->resv, NULL); >>> + dma_buf_unmap_attachment(attach, priv->sgt, priv->dir); >>> + dma_resv_unlock(dmabuf->resv); >> … >> >> Under which cir

Re: [PATCH v11 3/7] iio: core: Add new DMABUF interface infrastructure

2024-06-19 Thread Paul Cercueil
Le mercredi 19 juin 2024 à 13:43 +0200, Markus Elfring a écrit : > … > > +++ b/drivers/iio/industrialio-buffer.c > … > > +static void iio_buffer_dmabuf_release(struct kref *ref) > > +{ > … > > + dma_resv_lock(dmabuf->resv, NULL); > > + dma_buf_unmap_attachment(attach, priv->sgt, priv->dir); > >

Re: [PATCH v11 3/7] iio: core: Add new DMABUF interface infrastructure

2024-06-19 Thread Markus Elfring
… > +++ b/drivers/iio/industrialio-buffer.c … > +static void iio_buffer_dmabuf_release(struct kref *ref) > +{ … > + dma_resv_lock(dmabuf->resv, NULL); > + dma_buf_unmap_attachment(attach, priv->sgt, priv->dir); > + dma_resv_unlock(dmabuf->resv); … Under which circumstances will another

Re: [PATCH v11 3/7] iio: core: Add new DMABUF interface infrastructure

2024-06-18 Thread Nuno Sá
On Wed, 2024-06-19 at 11:15 +0800, kernel test robot wrote: > Hi Paul, > > kernel test robot noticed the following build errors: > > [auto build test ERROR on jic23-iio/togreg] > [also build test ERROR on vkoul-dmaengine/next linus/master v6.10-rc4 next- > 20240618] > [If your patch is applied to

Re: [PATCH v11 3/7] iio: core: Add new DMABUF interface infrastructure

2024-06-18 Thread kernel test robot
Hi Paul, kernel test robot noticed the following build errors: [auto build test ERROR on jic23-iio/togreg] [also build test ERROR on vkoul-dmaengine/next linus/master v6.10-rc4 next-20240618] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we su