kernel-selftest: Disable upstream patches
PATCH 1/1 kernel-selftest: Disable upstream patches
A recent commit in meta-openembedded [1] added a number of patches to fix testing issues, but those patches only apply to the latest 7.2 kernel. Since we have our own vendor kernel and support multiple older versions, we need to disable the patches for kernels that they will not apply to.
[1] https://git.openembedded.org/meta-openembedded/commit/?id=11a9324c8449a8567461a7914aa5c7a592de3f45
--- .../kernel-selftest/kernel-selftest-ti.inc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)
meta-ti-test/recipes-kernel/kernel-selftest/kernel-selftest-ti.inc +16 -0
@@ -51,3 +51,19 @@ TEST_LIST:append:bsp-ti-6_18 = " \ " INSANE_SKIP:${PN} += "staticdev textrel" + +SRC_URI:remove:bsp-ti-6_6 = "\ + file://0001-selftests-filelock-fix-the-test-plan-count-in-ofdloc.patch \ + file://0001-selftests-cgroup-memcontrol-keep-anon-page-touches-f.patch \ + file://0001-selftests-filesystems-idmapped_tmpfile-chown-the-lay.patch \ +" +SRC_URI:remove:bsp-ti-6_12 = "\ + file://0001-selftests-filelock-fix-the-test-plan-count-in-ofdloc.patch \ + file://0001-selftests-cgroup-memcontrol-keep-anon-page-touches-f.patch \ + file://0001-selftests-filesystems-idmapped_tmpfile-chown-the-lay.patch \ +" +SRC_URI:remove:bsp-ti-6_18 = "\ + file://0001-selftests-filelock-fix-the-test-plan-count-in-ofdloc.patch \ + file://0001-selftests-cgroup-memcontrol-keep-anon-page-touches-f.patch \ + file://0001-selftests-filesystems-idmapped_tmpfile-chown-the-lay.patch \ +"
Signature · 1 line
2.43.0
meta-ti / na / 20260922144347.926114-1-reatmon
PRC Results: PASS
=========================================================
check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
All patches passed
=========================================================
apply-yocto-patch: PASS
=========================================================
master
=====================
Summary:
- Patch Series: [meta-ti][master][PATCH] kernel-selftest: Disable upstream patches
- Submitter: From: Ryan Eatmon <[email protected]>
- Date: Date: Tue, 22 Sep 2026 09:43:47 -0500
- Num Patches: 1
- Mailing List (public inbox) Commit SHA: ffe2464872ba5b78b0e8fa373742077e1153bd54
Applied to:
- Repository: lcpd-prc-meta-ti
- Base Branch: master-wip
- Commit Author: Paresh Bhagat <[email protected]>
- Commit Subject: ti-rtos-fw: Set EdgeAI DSP firmware as default for am62dxx
- Commit SHA: 64a48b4c9a61d39888fd2d410e3a7bfecae76072
Patches
----------------------------------------
All patches applied
=========================================================
check-yocto-repo: PASS
=========================================================
master
=====================
PASS
=========================================================
yocto-check-layers: PASS
=========================================================
master - PASS
=====================
All checks passed
Quoted 27 lines · Ryan Eatmon via lists.yoctoproject.org
A recent commit in meta-openembedded [1] added a number of patches to fix testing issues, but those patches only apply to the latest 7.2 kernel. Since we have our own vendor kernel and support multiple older versions, we need to disable the patches for kernels that they will not apply to.
[1] https://git.openembedded.org/meta-openembedded/commit/?id=11a9324c8449a8567461a7914aa5c7a592de3f45
Signed-off-by Ryan Eatmon <[email protected]>--- .../kernel-selftest/kernel-selftest-ti.inc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)meta-ti-test/recipes-kernel/kernel-selftest/kernel-selftest-ti.inc +6
-0@@ -51,3 +51,19 @@ TEST_LIST:append:bsp-ti-6_18 = " \ " INSANE_SKIP:${PN} += "staticdev textrel" + +SRC_URI:remove:bsp-ti-6_6 = "\ + file://0001-selftests-filelock-fix-the-test-plan-count-in-ofdloc.patch \ + file://0001-selftests-cgroup-memcontrol-keep-anon-page-touches-f.patch \ + file://0001-selftests-filesystems-idmapped_tmpfile-chown-the-lay.patch \ +"
meta-ti-test/recipes-kernel/kernel-selftest/kernel-selftest-ti.inc TEST_LIST:append:bsp-ti-6_18 = " \ · line 69
Quoted 10 lines
meta-ti-test/recipes-kernel/kernel-selftest/kernel-selftest-ti.inc +10
-0+SRC_URI:remove:bsp-ti-6_12 = "\ + file://0001-selftests-filelock-fix-the-test-plan-count-in-ofdloc.patch \ + file://0001-selftests-cgroup-memcontrol-keep-anon-page-touches-f.patch \ + file://0001-selftests-filesystems-idmapped_tmpfile-chown-the-lay.patch \ +" +SRC_URI:remove:bsp-ti-6_18 = "\ + file://0001-selftests-filelock-fix-the-test-plan-count-in-ofdloc.patch \ + file://0001-selftests-cgroup-memcontrol-keep-anon-page-touches-f.patch \ + file://0001-selftests-filesystems-idmapped_tmpfile-chown-the-lay.patch \ +"
What about other BSPs, like Beagle?
I also see that neither mainline nor next are 7.2 (yet) in meta-ti.
Maybe we should add an anonymous python function that checks the KERNEL_VERSION and removes the patches if it's below 7.2?
Signature · 1 line
Denys
Quoted 42 lines · Denys Dmytriyenko
Quoted 27 lines · Ryan Eatmon via lists.yoctoproject.org
A recent commit in meta-openembedded [1] added a number of patches to fix testing issues, but those patches only apply to the latest 7.2 kernel. Since we have our own vendor kernel and support multiple older versions, we need to disable the patches for kernels that they will not apply to.
[1] https://git.openembedded.org/meta-openembedded/commit/?id=11a9324c8449a8567461a7914aa5c7a592de3f45
Signed-off-by Ryan Eatmon <[email protected]>--- .../kernel-selftest/kernel-selftest-ti.inc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)meta-ti-test/recipes-kernel/kernel-selftest/kernel-selftest-ti.inc +6
-0@@ -51,3 +51,19 @@ TEST_LIST:append:bsp-ti-6_18 = " \ " INSANE_SKIP:${PN} += "staticdev textrel" + +SRC_URI:remove:bsp-ti-6_6 = "\ + file://0001-selftests-filelock-fix-the-test-plan-count-in-ofdloc.patch \ + file://0001-selftests-cgroup-memcontrol-keep-anon-page-touches-f.patch \ + file://0001-selftests-filesystems-idmapped_tmpfile-chown-the-lay.patch \ +"meta-ti-test/recipes-kernel/kernel-selftest/kernel-selftest-ti.inc TEST_LIST:append:bsp-ti-6_18 = " \ · line 69
Quoted 10 lines
meta-ti-test/recipes-kernel/kernel-selftest/kernel-selftest-ti.inc +10
-0+SRC_URI:remove:bsp-ti-6_12 = "\ + file://0001-selftests-filelock-fix-the-test-plan-count-in-ofdloc.patch \ + file://0001-selftests-cgroup-memcontrol-keep-anon-page-touches-f.patch \ + file://0001-selftests-filesystems-idmapped_tmpfile-chown-the-lay.patch \ +" +SRC_URI:remove:bsp-ti-6_18 = "\ + file://0001-selftests-filelock-fix-the-test-plan-count-in-ofdloc.patch \ + file://0001-selftests-cgroup-memcontrol-keep-anon-page-touches-f.patch \ + file://0001-selftests-filesystems-idmapped_tmpfile-chown-the-lay.patch \ +"What about other BSPs, like Beagle?
I also see that neither mainline nor next are 7.2 (yet) in meta-ti.
Quoted 2 lines
Maybe we should add an anonymous python function that checks the
KERNEL_VERSIONand removes the patches if it's below 7.2?
Both are good points. I keep forgetting about the beagle boards. My bad.
I'm open to the anonymous function to make it more generic. Do you want to take a stab at it?
Signature · 3 lines
Ryan Eatmon [email protected] ----------------------------------------- Texas Instruments, Inc. - LCPD - MGTS
Quoted 44 lines · Ryan Eatmon
Quoted 41 lines · Denys Dmytriyenko
Quoted 26 lines · Ryan Eatmon via lists.yoctoproject.org
A recent commit in meta-openembedded [1] added a number of patches to fix testing issues, but those patches only apply to the latest 7.2 kernel. Since we have our own vendor kernel and support multiple older versions, we need to disable the patches for kernels that they will not apply to.
[1] https://git.openembedded.org/meta-openembedded/commit/?id=11a9324c8449a8567461a7914aa5c7a592de3f45
Signed-off-by Ryan Eatmon <[email protected]>--- .../kernel-selftest/kernel-selftest-ti.inc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)meta-ti-test/recipes-kernel/kernel-selftest/kernel-selftest-ti.inc +6
-0@@ -51,3 +51,19 @@ TEST_LIST:append:bsp-ti-6_18 = " \ " INSANE_SKIP:${PN} += "staticdev textrel" + +SRC_URI:remove:bsp-ti-6_6 = "\ + file://0001-selftests-filelock-fix-the-test-plan-count-in-ofdloc.patch \ + file://0001-selftests-cgroup-memcontrol-keep-anon-page-touches-f.patch \ + file://0001-selftests-filesystems-idmapped_tmpfile-chown-the-lay.patch \ +"meta-ti-test/recipes-kernel/kernel-selftest/kernel-selftest-ti.inc TEST_LIST:append:bsp-ti-6_18 = " \ · line 68
Quoted 10 lines
meta-ti-test/recipes-kernel/kernel-selftest/kernel-selftest-ti.inc +10
-0+SRC_URI:remove:bsp-ti-6_12 = "\ + file://0001-selftests-filelock-fix-the-test-plan-count-in-ofdloc.patch \ + file://0001-selftests-cgroup-memcontrol-keep-anon-page-touches-f.patch \ + file://0001-selftests-filesystems-idmapped_tmpfile-chown-the-lay.patch \ +" +SRC_URI:remove:bsp-ti-6_18 = "\ + file://0001-selftests-filelock-fix-the-test-plan-count-in-ofdloc.patch \ + file://0001-selftests-cgroup-memcontrol-keep-anon-page-touches-f.patch \ + file://0001-selftests-filesystems-idmapped_tmpfile-chown-the-lay.patch \ +"What about other BSPs, like Beagle?
I also see that neither mainline nor next are 7.2 (yet) in meta-ti.
Quoted 7 lines
Quoted 2 lines
Maybe we should add an anonymous python function that checks the
KERNEL_VERSIONand removes the patches if it's below 7.2?Both are good points. I keep forgetting about the beagle boards. My bad.
I'm open to the anonymous function to make it more generic. Do you want to take a stab at it?
Sure, I can look at it.
Signature · 1 line
Denys