All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-ti][scarthgap][PATCH 1/2] ti-vendor-kernel-headers: add recipe for TI-only dma-heap.h ioctl
@ 2026-08-28  5:50 Hari Prasath Gujulan Elango
  2026-08-28  5:50 ` [meta-arago][scarthgap][PATCH 2/2] tisdk-default-image: add ti-vendor-kernel-headers-dev to DEVTOOLS Hari Prasath Gujulan Elango
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Hari Prasath Gujulan Elango @ 2026-08-28  5:50 UTC (permalink / raw)
  To: reatmon, afd
  Cc: praneeth, denys, meta-arago, s-kapoor, p-gupta5, u-kumar1,
	Hari Prasath Gujulan Elango

The TI vendor kernel's dma-heap.h carries DMA_HEAP_IOCTL_EXPORT in
downstream.The standard header provided by linux-libc-headers' wouldn't
have the custom changes.Copy it straight from the kernel's staged
source tree (STAGING_KERNEL_DIR)into a separate /usr/include/ti/linux
path instead, for userspace code that needs it.

Signed-off-by: Hari Prasath Gujulan Elango <gehariprasath@ti.com>
---
 .../ti-vendor-kernel-headers_1.0.bb             | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 meta-ti-bsp/recipes-kernel/ti-vendor-kernel-headers/ti-vendor-kernel-headers_1.0.bb

diff --git a/meta-ti-bsp/recipes-kernel/ti-vendor-kernel-headers/ti-vendor-kernel-headers_1.0.bb b/meta-ti-bsp/recipes-kernel/ti-vendor-kernel-headers/ti-vendor-kernel-headers_1.0.bb
new file mode 100644
index 000000000..bf7dcc3a5
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/ti-vendor-kernel-headers/ti-vendor-kernel-headers_1.0.bb
@@ -0,0 +1,17 @@
+SUMMARY = "TI vendor kernel uapi headers not present in mainline linux-libc-headers"
+DESCRIPTION = "Copies select uapi headers straight from the TI vendor kernel source \
+tree into a TI-specific include path (/usr/include/ti/linux), for userspace code \
+that needs them but can't rely on linux-libc-headers carrying TI-only additions."
+LICENSE = "GPL-2.0-only"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+do_configure[depends] += "virtual/kernel:do_shared_workdir"
+do_install[depends] += "virtual/kernel:do_shared_workdir"
+
+do_install() {
+    install -d ${D}${includedir}/ti/linux
+    install -m 0644 ${STAGING_KERNEL_DIR}/include/uapi/linux/dma-heap.h ${D}${includedir}/ti/linux/dma-heap.h
+}
+
-- 
2.34.1



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

* [meta-arago][scarthgap][PATCH 2/2] tisdk-default-image: add ti-vendor-kernel-headers-dev to DEVTOOLS
  2026-08-28  5:50 [meta-ti][scarthgap][PATCH 1/2] ti-vendor-kernel-headers: add recipe for TI-only dma-heap.h ioctl Hari Prasath Gujulan Elango
@ 2026-08-28  5:50 ` Hari Prasath Gujulan Elango
  2026-08-28  8:11   ` Hari Prasath G E
  2026-08-28  5:55 ` [meta-ti][scarthgap][PATCH 1/2] ti-vendor-kernel-headers: add recipe for TI-only dma-heap.h ioctl PRC Automation
  2026-08-28  8:06 ` Hari Prasath G E
  2 siblings, 1 reply; 5+ messages in thread
From: Hari Prasath Gujulan Elango @ 2026-08-28  5:50 UTC (permalink / raw)
  To: reatmon, afd
  Cc: praneeth, denys, meta-arago, s-kapoor, p-gupta5, u-kumar1,
	Hari Prasath Gujulan Elango

TI vendor kernel uapi additions (e.g. DMA_HEAP_IOCTL_EXPORT) isn't
present in the standard header provided by the linux-libc-headers,
so on-target compilation against them needs the ti-vendor-kernel-headers-dev
package alongside linux-libc-headers-dev.

Signed-off-by: Hari Prasath Gujulan Elango <gehariprasath@ti.com>
---
 meta-arago-distro/recipes-core/images/tisdk-default-image.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-arago-distro/recipes-core/images/tisdk-default-image.bb b/meta-arago-distro/recipes-core/images/tisdk-default-image.bb
index 264d1b2d..cac6628e 100644
--- a/meta-arago-distro/recipes-core/images/tisdk-default-image.bb
+++ b/meta-arago-distro/recipes-core/images/tisdk-default-image.bb
@@ -36,6 +36,7 @@ IMAGE_FSTYPES:remove:omapl138 = "ubifs ubi"
 
 DEVTOOLS = " \
     linux-libc-headers-dev \
+    ti-vendor-kernel-headers-dev \
     build-essential \
     packagegroup-core-tools-debug \
     git \
-- 
2.34.1



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

* Re: [meta-ti][scarthgap][PATCH 1/2] ti-vendor-kernel-headers: add recipe for TI-only dma-heap.h ioctl
  2026-08-28  5:50 [meta-ti][scarthgap][PATCH 1/2] ti-vendor-kernel-headers: add recipe for TI-only dma-heap.h ioctl Hari Prasath Gujulan Elango
  2026-08-28  5:50 ` [meta-arago][scarthgap][PATCH 2/2] tisdk-default-image: add ti-vendor-kernel-headers-dev to DEVTOOLS Hari Prasath Gujulan Elango
@ 2026-08-28  5:55 ` PRC Automation
  2026-08-28  8:06 ` Hari Prasath G E
  2 siblings, 0 replies; 5+ messages in thread
From: PRC Automation @ 2026-08-28  5:55 UTC (permalink / raw)
  To: Hari Prasath Gujulan Elango
  Cc: reatmon, afd, praneeth, denys, meta-arago, s-kapoor, p-gupta5,
	u-kumar1

meta-arago / na / 20260828055034.1106316-1-gehariprasath

PRC Results: FAIL

=========================================================
  check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
All patches passed



=========================================================
  apply-yocto-patch: PASS
=========================================================
scarthgap
=====================
Summary:
- Patch Series: [meta-ti][scarthgap][PATCH 1/2] ti-vendor-kernel-headers: add recipe for TI-only dma-heap.h ioctl
- Submitter: From: Hari Prasath Gujulan Elango <gehariprasath@ti.com>
- Date: Date: Fri, 28 Aug 2026 11:20:33 +0530
- Num Patches: 2
- Mailing List (public inbox) Commit SHA: 1edab4bb624176409468e5b5850b8033bcff7cd2

Applied to:
- Repository: lcpd-prc-meta-arago
- Base Branch: scarthgap-wip
- Commit Author: Ryan Eatmon <reatmon@ti.com>
- Commit Subject: libyang: Fix CVE-2026-41401
- Commit SHA: 73ab0405254988a501b849d221acf5f468cb8997

Patches
----------------------------------------
All patches applied



=========================================================
  check-yocto-repo: FAIL
=========================================================
scarthgap
=====================
FAIL
    ERROR: Patch is not referenced in any recipe. (REPO-1)
        meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-wl18xx/0001-hostapd-change-conf-file-for-better-oob-startup.patch
    
    ERROR: Patch is not referenced in any recipe. (REPO-1)
        meta-arago-extras/recipes-connectivity/open62541/open62541/0001-CMakeLists-do-not-install-git-directories.patch
    
    ERROR: Patch is not referenced in any recipe. (REPO-1)
        meta-arago-extras/recipes-connectivity/open62541/open62541/0001-tests-fix-typing-of-size_t-in-printf.patch
    
    ERROR: Patch is not referenced in any recipe. (REPO-1)
        meta-arago-extras/recipes-devtools/abseil-cpp/abseil-cpp/0001-absl-always-use-asm-sgidefs.h.patch
    
    ERROR: Patch is not referenced in any recipe. (REPO-1)
        meta-arago-extras/recipes-devtools/abseil-cpp/abseil-cpp/0002-Remove-maes-option-from-cross-compilation.patch
    
    ERROR: Patch is not referenced in any recipe. (REPO-1)
        meta-arago-extras/recipes-devtools/abseil-cpp/abseil-cpp/0003-Remove-neon-option-from-cross-compilation.patch
    
    ERROR: Patch is not referenced in any recipe. (REPO-1)
        meta-arago-extras/recipes-extended/sysrepo/libyang/CVE-2026-41401.patch
    
    For details on the above errors/warnings visit: https://lists.yoctoproject.org/g/meta-ti/wiki/40887





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

* Re: [meta-ti][scarthgap][PATCH 1/2] ti-vendor-kernel-headers: add recipe for TI-only dma-heap.h ioctl
  2026-08-28  5:50 [meta-ti][scarthgap][PATCH 1/2] ti-vendor-kernel-headers: add recipe for TI-only dma-heap.h ioctl Hari Prasath Gujulan Elango
  2026-08-28  5:50 ` [meta-arago][scarthgap][PATCH 2/2] tisdk-default-image: add ti-vendor-kernel-headers-dev to DEVTOOLS Hari Prasath Gujulan Elango
  2026-08-28  5:55 ` [meta-ti][scarthgap][PATCH 1/2] ti-vendor-kernel-headers: add recipe for TI-only dma-heap.h ioctl PRC Automation
@ 2026-08-28  8:06 ` Hari Prasath G E
  2 siblings, 0 replies; 5+ messages in thread
From: Hari Prasath G E @ 2026-08-28  8:06 UTC (permalink / raw)
  To: reatmon, afd; +Cc: praneeth, denys, meta-arago, s-kapoor, p-gupta5, u-kumar1

On 8/28/2026 11:20 AM, Hari Prasath Gujulan Elango wrote:
> The TI vendor kernel's dma-heap.h carries DMA_HEAP_IOCTL_EXPORT in
> downstream.The standard header provided by linux-libc-headers' wouldn't
> have the custom changes.Copy it straight from the kernel's staged
> source tree (STAGING_KERNEL_DIR)into a separate /usr/include/ti/linux
> path instead, for userspace code that needs it.
> 

Discard this patch series, forgot to send this patch to the 
meta-ti@lists.yoctoproject.org.

Regards,
Hari

> Signed-off-by: Hari Prasath Gujulan Elango <gehariprasath@ti.com>
> ---
>   .../ti-vendor-kernel-headers_1.0.bb             | 17 +++++++++++++++++
>   1 file changed, 17 insertions(+)
>   create mode 100644 meta-ti-bsp/recipes-kernel/ti-vendor-kernel-headers/ti-vendor-kernel-headers_1.0.bb
> 
> diff --git a/meta-ti-bsp/recipes-kernel/ti-vendor-kernel-headers/ti-vendor-kernel-headers_1.0.bb b/meta-ti-bsp/recipes-kernel/ti-vendor-kernel-headers/ti-vendor-kernel-headers_1.0.bb
> new file mode 100644
> index 000000000..bf7dcc3a5
> --- /dev/null
> +++ b/meta-ti-bsp/recipes-kernel/ti-vendor-kernel-headers/ti-vendor-kernel-headers_1.0.bb
> @@ -0,0 +1,17 @@
> +SUMMARY = "TI vendor kernel uapi headers not present in mainline linux-libc-headers"
> +DESCRIPTION = "Copies select uapi headers straight from the TI vendor kernel source \
> +tree into a TI-specific include path (/usr/include/ti/linux), for userspace code \
> +that needs them but can't rely on linux-libc-headers carrying TI-only additions."
> +LICENSE = "GPL-2.0-only"
> +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6"
> +
> +PACKAGE_ARCH = "${MACHINE_ARCH}"
> +
> +do_configure[depends] += "virtual/kernel:do_shared_workdir"
> +do_install[depends] += "virtual/kernel:do_shared_workdir"
> +
> +do_install() {
> +    install -d ${D}${includedir}/ti/linux
> +    install -m 0644 ${STAGING_KERNEL_DIR}/include/uapi/linux/dma-heap.h ${D}${includedir}/ti/linux/dma-heap.h
> +}
> +



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

* Re: [meta-arago][scarthgap][PATCH 2/2] tisdk-default-image: add ti-vendor-kernel-headers-dev to DEVTOOLS
  2026-08-28  5:50 ` [meta-arago][scarthgap][PATCH 2/2] tisdk-default-image: add ti-vendor-kernel-headers-dev to DEVTOOLS Hari Prasath Gujulan Elango
@ 2026-08-28  8:11   ` Hari Prasath G E
  0 siblings, 0 replies; 5+ messages in thread
From: Hari Prasath G E @ 2026-08-28  8:11 UTC (permalink / raw)
  To: reatmon, afd; +Cc: praneeth, denys, meta-arago, s-kapoor, p-gupta5, u-kumar1

On 8/28/2026 11:20 AM, Hari Prasath Gujulan Elango wrote:
> TI vendor kernel uapi additions (e.g. DMA_HEAP_IOCTL_EXPORT) isn't
> present in the standard header provided by the linux-libc-headers,
> so on-target compilation against them needs the ti-vendor-kernel-headers-dev
> package alongside linux-libc-headers-dev.
> 

Pls discard this, I have resent it as a separate patch instead since 
it's two different mailing lists. Sorry for the noise.

Regards,
Hari

> Signed-off-by: Hari Prasath Gujulan Elango <gehariprasath@ti.com>
> ---
>   meta-arago-distro/recipes-core/images/tisdk-default-image.bb | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/meta-arago-distro/recipes-core/images/tisdk-default-image.bb b/meta-arago-distro/recipes-core/images/tisdk-default-image.bb
> index 264d1b2d..cac6628e 100644
> --- a/meta-arago-distro/recipes-core/images/tisdk-default-image.bb
> +++ b/meta-arago-distro/recipes-core/images/tisdk-default-image.bb
> @@ -36,6 +36,7 @@ IMAGE_FSTYPES:remove:omapl138 = "ubifs ubi"
>   
>   DEVTOOLS = " \
>       linux-libc-headers-dev \
> +    ti-vendor-kernel-headers-dev \
>       build-essential \
>       packagegroup-core-tools-debug \
>       git \



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

end of thread, other threads:[~2026-08-28  8:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-28  5:50 [meta-ti][scarthgap][PATCH 1/2] ti-vendor-kernel-headers: add recipe for TI-only dma-heap.h ioctl Hari Prasath Gujulan Elango
2026-08-28  5:50 ` [meta-arago][scarthgap][PATCH 2/2] tisdk-default-image: add ti-vendor-kernel-headers-dev to DEVTOOLS Hari Prasath Gujulan Elango
2026-08-28  8:11   ` Hari Prasath G E
2026-08-28  5:55 ` [meta-ti][scarthgap][PATCH 1/2] ti-vendor-kernel-headers: add recipe for TI-only dma-heap.h ioctl PRC Automation
2026-08-28  8:06 ` Hari Prasath G E

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.