Message ID | 20240310124836.31863-1-paul@crapouillou.net (mailing list archive) |
---|---|
Headers |
Received: from ny.mirrors.kernel.org ([147.75.199.223]) by linuxtv.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from <linux-media+bounces-6770-patchwork=linuxtv.org@vger.kernel.org>) id 1rjIby-0001AN-0K for patchwork@linuxtv.org; Sun, 10 Mar 2024 12:49:07 +0000 Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id DF8BD1C21019 for <patchwork@linuxtv.org>; Sun, 10 Mar 2024 12:49:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 60CE028389; Sun, 10 Mar 2024 12:48:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=crapouillou.net header.i=@crapouillou.net header.b="ttoxhuAU" X-Original-To: linux-media@vger.kernel.org Received: from aposti.net (aposti.net [89.234.176.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 472F724B34; Sun, 10 Mar 2024 12:48:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=89.234.176.197 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710074935; cv=none; b=b4OGbvvhVZ3wvhiIYHhsb0l+NT94GvPjaPlo6f+JZJbfqtkfhGQLLf89NaRwyvIyPkjqBKaT0ls9HYFSYz2KfjsBqdPZtYzpLBr3dkrHxBPraAwfihJ/zoScbCx45uu/D9tjsIqBTyiFu0KAdoNl5egx/kQwr39Q2tU+xlp4iJ0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710074935; c=relaxed/simple; bh=4WZpQTJ2FC4y6Xp4cZA98rKgeB5l/4qw3o6ywlolN/w=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=HtSwGRGNdXtgVXJf0P9KESg6OW7OESSzO63K1DFRUQkV+jlLd55PY9MrghwNLuMnTMDWNUreKQk9yHA4PeTdBlfbbnKE3XGh3+N56lTL6f6T+mvdJ6P1AY+NJvnJffToZ6AmS5/751J1dLGPcPNG+TrdRggoEl81nAqHoZ2hx5k= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=crapouillou.net; spf=pass smtp.mailfrom=crapouillou.net; dkim=pass (1024-bit key) header.d=crapouillou.net header.i=@crapouillou.net header.b=ttoxhuAU; arc=none smtp.client-ip=89.234.176.197 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=crapouillou.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=crapouillou.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1710074925; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=3MP05RR+wbCQqXOr0sgjO6JV62/cP9unyj6X/qG6Ojo=; b=ttoxhuAUS6+ngXFZaEOsmMvJ9SGESgjp3LJpwJyYloA440908l3ZTN8L2EaWDJNf6eEHW8 KvUriPAWywZN95WcbPKCTaNJswgorMkKgnn/JB1c5uU/8O6oHiJbUM9MJMBMLQNIIljr1r zJnmTqxJB+Oz7iOFywn3b8s8tHqIepM= From: Paul Cercueil <paul@crapouillou.net> To: Jonathan Cameron <jic23@kernel.org>, =?utf-8?q?Christian_K=C3=B6nig?= <christian.koenig@amd.com>, Jonathan Corbet <corbet@lwn.net>, Lars-Peter Clausen <lars@metafoo.de>, Vinod Koul <vkoul@kernel.org>, Sumit Semwal <sumit.semwal@linaro.org> Cc: Nuno Sa <nuno.sa@analog.com>, Michael Hennerich <michael.hennerich@analog.com>, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, dmaengine@vger.kernel.org, linux-iio@vger.kernel.org, linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org, Paul Cercueil <paul@crapouillou.net> Subject: [PATCH v9 0/6] iio: new DMABUF based API Date: Sun, 10 Mar 2024 13:48:29 +0100 Message-ID: <20240310124836.31863-1-paul@crapouillou.net> Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: <linux-media.vger.kernel.org> List-Subscribe: <mailto:linux-media+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-media+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-LSpam-Score: -3.3 (---) X-LSpam-Report: No, score=-3.3 required=5.0 tests=ARC_SIGNED=0.001,ARC_VALID=-0.1,BAYES_00=-1.9,DKIM_SIGNED=0.1,DKIM_VALID=-0.1,DKIM_VALID_AU=-0.1,DMARC_PASS=-0.001,HEADER_FROM_DIFFERENT_DOMAINS=0.5,MAILING_LIST_MULTI=-1,RCVD_IN_DNSWL_LOW=-0.7,SPF_HELO_NONE=0.001,SPF_PASS=-0.001 autolearn=ham autolearn_force=no |
Series |
iio: new DMABUF based API
|
|
Message
Paul Cercueil
March 10, 2024, 12:48 p.m. UTC
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 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
Comments
On Sun, 10 Mar 2024 13:48:29 +0100 Paul Cercueil <paul@crapouillou.net> 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 >