diff mbox series

[meta-ti,master] kernel-selftest: Disable upstream patches

Message ID 20260922144347.926114-1-reatmon@ti.com
State New
Headers show
Series [meta-ti,master] kernel-selftest: Disable upstream patches | expand

Commit Message

Ryan Eatmon Sept. 22, 2026, 2:43 p.m. UTC
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 <reatmon@ti.com>
---
 .../kernel-selftest/kernel-selftest-ti.inc       | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

Comments

PRC Automation Sept. 22, 2026, 3:02 p.m. UTC | #1
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 <reatmon@ti.com>
- 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 <p-bhagat@ti.com>
- 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
Denys Dmytriyenko Sept. 22, 2026, 6:26 p.m. UTC | #2
On Tue, Sep 22, 2026 at 09:43:47AM -0500, Ryan Eatmon via lists.yoctoproject.org wrote:
> 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 <reatmon@ti.com>
> ---
>  .../kernel-selftest/kernel-selftest-ti.inc       | 16 ++++++++++++++++
>  1 file changed, 16 insertions(+)
> 
> diff --git a/meta-ti-test/recipes-kernel/kernel-selftest/kernel-selftest-ti.inc b/meta-ti-test/recipes-kernel/kernel-selftest/kernel-selftest-ti.inc
> index bae5b7ab..e393b39f 100644
> --- a/meta-ti-test/recipes-kernel/kernel-selftest/kernel-selftest-ti.inc
> +++ b/meta-ti-test/recipes-kernel/kernel-selftest/kernel-selftest-ti.inc
> @@ -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 \
> +"

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?
Ryan Eatmon Sept. 22, 2026, 6:30 p.m. UTC | #3
On 9/22/2026 1:26 PM, Denys Dmytriyenko wrote:
> On Tue, Sep 22, 2026 at 09:43:47AM -0500, Ryan Eatmon via lists.yoctoproject.org wrote:
>> 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 <reatmon@ti.com>
>> ---
>>   .../kernel-selftest/kernel-selftest-ti.inc       | 16 ++++++++++++++++
>>   1 file changed, 16 insertions(+)
>>
>> diff --git a/meta-ti-test/recipes-kernel/kernel-selftest/kernel-selftest-ti.inc b/meta-ti-test/recipes-kernel/kernel-selftest/kernel-selftest-ti.inc
>> index bae5b7ab..e393b39f 100644
>> --- a/meta-ti-test/recipes-kernel/kernel-selftest/kernel-selftest-ti.inc
>> +++ b/meta-ti-test/recipes-kernel/kernel-selftest/kernel-selftest-ti.inc
>> @@ -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 \
>> +"
> 
> 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?

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?
Denys Dmytriyenko Sept. 22, 2026, 6:59 p.m. UTC | #4
On Tue, Sep 22, 2026 at 01:30:53PM -0500, Ryan Eatmon wrote:
> 
> 
> On 9/22/2026 1:26 PM, Denys Dmytriyenko wrote:
> >On Tue, Sep 22, 2026 at 09:43:47AM -0500, Ryan Eatmon via lists.yoctoproject.org wrote:
> >>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 <reatmon@ti.com>
> >>---
> >>  .../kernel-selftest/kernel-selftest-ti.inc       | 16 ++++++++++++++++
> >>  1 file changed, 16 insertions(+)
> >>
> >>diff --git a/meta-ti-test/recipes-kernel/kernel-selftest/kernel-selftest-ti.inc b/meta-ti-test/recipes-kernel/kernel-selftest/kernel-selftest-ti.inc
> >>index bae5b7ab..e393b39f 100644
> >>--- a/meta-ti-test/recipes-kernel/kernel-selftest/kernel-selftest-ti.inc
> >>+++ b/meta-ti-test/recipes-kernel/kernel-selftest/kernel-selftest-ti.inc
> >>@@ -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 \
> >>+"
> >
> >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?
> 
> 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.
diff mbox series

Patch

diff --git a/meta-ti-test/recipes-kernel/kernel-selftest/kernel-selftest-ti.inc b/meta-ti-test/recipes-kernel/kernel-selftest/kernel-selftest-ti.inc
index bae5b7ab..e393b39f 100644
--- a/meta-ti-test/recipes-kernel/kernel-selftest/kernel-selftest-ti.inc
+++ b/meta-ti-test/recipes-kernel/kernel-selftest/kernel-selftest-ti.inc
@@ -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 \
+"