diff mbox series

[v2] u-dma-buf: new recipe at version 5.5.0

Message ID 20260620111501.8465-1-jan.vermaete@gmail.com
State Under Review
Headers show
Series [v2] u-dma-buf: new recipe at version 5.5.0 | expand

Commit Message

Jan Vermaete June 20, 2026, 11:15 a.m. UTC
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

Comments

Alexander Kanavin June 20, 2026, 5:44 p.m. UTC | #1
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
diff mbox series

Patch

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"