Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH v2] u-dma-buf: new recipe at version 5.5.0
@ 2026-06-20 11:15 Jan Vermaete
  2026-06-20 17:44 ` [OE-core] " Alexander Kanavin
  2026-06-21  5:38 ` Mathieu Dubois-Briand
  0 siblings, 2 replies; 3+ messages in thread
From: Jan Vermaete @ 2026-06-20 11:15 UTC (permalink / raw)
  To: openembedded-core; +Cc: Jan Vermaete, Gerbrand De Laender

Add a Yocto recipe for u-dma-buf, an out-of-tree driver that
provides userspace-mappable contiguous DMA buffers for FPGA
and other DMA-capable devices.

Signed-off-by: Gerbrand De Laender <gdelaende@gmail.com>
Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
---
 .../u-dma-buf/u-dma-buf_5.5.0.bb              | 25 +++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 meta/recipes-kernel/u-dma-buf/u-dma-buf_5.5.0.bb

diff --git a/meta/recipes-kernel/u-dma-buf/u-dma-buf_5.5.0.bb b/meta/recipes-kernel/u-dma-buf/u-dma-buf_5.5.0.bb
new file mode 100644
index 0000000000..6dea825b31
--- /dev/null
+++ b/meta/recipes-kernel/u-dma-buf/u-dma-buf_5.5.0.bb
@@ -0,0 +1,25 @@
+SUMMARY = "u-dma-buf: User-space mappable DMA buffer (CMA-backed)"
+DESCRIPTION = "\
+    u-dma-buf is a Linux device driver that allocates contiguous memory blocks in the kernel space as DMA buffers \
+    and makes them available from the user space. It is intended that these memory blocks are used as DMA buffers \
+    when a user application implements device driver in user space using UIO (User space I/O). \
+    \
+    A DMA buffer allocated by u-dma-buf can be accessed from the user space by opening the device file (e.g. /dev/udmabuf0) \
+    and mapping to the user memory space, or using the read()/write() functions. \
+"
+
+HOMEPAGE = "https://github.com/ikwzm/udmabuf"
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=bebf0492502927bef0741aa04d1f35f5"
+
+PV = "5.5.0"
+
+SRC_URI = "git://github.com/ikwzm/udmabuf.git;protocol=https;branch=master"
+
+SRCREV = "15bcde3cb960321e99983e227aeacc5807888333"
+
+COMPATIBLE_HOST = '(arm|aarch64).*-linux'
+
+inherit module
+
+RPROVIDES:${PN} += "kernel-module-u-dma-buf"
-- 
2.47.3



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [OE-core] [PATCH v2] u-dma-buf: new recipe at version 5.5.0
  2026-06-20 11:15 [PATCH v2] u-dma-buf: new recipe at version 5.5.0 Jan Vermaete
@ 2026-06-20 17:44 ` Alexander Kanavin
  2026-06-21  5:38 ` Mathieu Dubois-Briand
  1 sibling, 0 replies; 3+ messages in thread
From: Alexander Kanavin @ 2026-06-20 17:44 UTC (permalink / raw)
  To: jan.vermaete; +Cc: openembedded-core, Gerbrand De Laender

On Sat, 20 Jun 2026 at 13:15, Jan Vermaete via lists.openembedded.org
<jan.vermaete=gmail.com@lists.openembedded.org> wrote:
>
> Add a Yocto recipe for u-dma-buf, an out-of-tree driver that
> provides userspace-mappable contiguous DMA buffers for FPGA
> and other DMA-capable devices.

This needs justification for inclusion in core. Is this widely used
and widely useful? Why is it not in the kernel tree? Does it come with
a maintenance promise?

Alex


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [OE-core] [PATCH v2] u-dma-buf: new recipe at version 5.5.0
  2026-06-20 11:15 [PATCH v2] u-dma-buf: new recipe at version 5.5.0 Jan Vermaete
  2026-06-20 17:44 ` [OE-core] " Alexander Kanavin
@ 2026-06-21  5:38 ` Mathieu Dubois-Briand
  1 sibling, 0 replies; 3+ messages in thread
From: Mathieu Dubois-Briand @ 2026-06-21  5:38 UTC (permalink / raw)
  To: jan.vermaete, openembedded-core; +Cc: Gerbrand De Laender

On Sat Jun 20, 2026 at 1:15 PM CEST, Jan Vermaete via lists.openembedded.org wrote:
> Add a Yocto recipe for u-dma-buf, an out-of-tree driver that
> provides userspace-mappable contiguous DMA buffers for FPGA
> and other DMA-capable devices.
>
> Signed-off-by: Gerbrand De Laender <gdelaende@gmail.com>
> Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
> ---
>  .../u-dma-buf/u-dma-buf_5.5.0.bb              | 25 +++++++++++++++++++
>  1 file changed, 25 insertions(+)
>  create mode 100644 meta/recipes-kernel/u-dma-buf/u-dma-buf_5.5.0.bb
>
> diff --git a/meta/recipes-kernel/u-dma-buf/u-dma-buf_5.5.0.bb b/meta/recipes-kernel/u-dma-buf/u-dma-buf_5.5.0.bb
> new file mode 100644
> index 0000000000..6dea825b31
> --- /dev/null
> +++ b/meta/recipes-kernel/u-dma-buf/u-dma-buf_5.5.0.bb
> @@ -0,0 +1,25 @@
> +SUMMARY = "u-dma-buf: User-space mappable DMA buffer (CMA-backed)"
> +DESCRIPTION = "\
> +    u-dma-buf is a Linux device driver that allocates contiguous memory blocks in the kernel space as DMA buffers \
> +    and makes them available from the user space. It is intended that these memory blocks are used as DMA buffers \
> +    when a user application implements device driver in user space using UIO (User space I/O). \
> +    \
> +    A DMA buffer allocated by u-dma-buf can be accessed from the user space by opening the device file (e.g. /dev/udmabuf0) \
> +    and mapping to the user memory space, or using the read()/write() functions. \
> +"
> +
> +HOMEPAGE = "https://github.com/ikwzm/udmabuf"
> +LICENSE = "BSD-2-Clause"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=bebf0492502927bef0741aa04d1f35f5"
> +
> +PV = "5.5.0"
> +
> +SRC_URI = "git://github.com/ikwzm/udmabuf.git;protocol=https;branch=master"
> +
> +SRCREV = "15bcde3cb960321e99983e227aeacc5807888333"
> +
> +COMPATIBLE_HOST = '(arm|aarch64).*-linux'
> +
> +inherit module
> +
> +RPROVIDES:${PN} += "kernel-module-u-dma-buf"

Hi,

In addition to Alex message, please add a maintainer entry in
meta/conf/distro/include/maintainers.inc if this recipe is indeed added.

Thanks,
Mathieu

-- 
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-06-21  5:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-20 11:15 [PATCH v2] u-dma-buf: new recipe at version 5.5.0 Jan Vermaete
2026-06-20 17:44 ` [OE-core] " Alexander Kanavin
2026-06-21  5:38 ` Mathieu Dubois-Briand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox