diff --git a/meta-oe/recipes-kernel/kernel-selftest/kernel-selftest.bb b/meta-oe/recipes-kernel/kernel-selftest/kernel-selftest.bb index 430b5974b3..d90720de06 100644 --- a/meta-oe/recipes-kernel/kernel-selftest/kernel-selftest.bb +++ b/meta-oe/recipes-kernel/kernel-selftest/kernel-selftest.bb @@ -17,7 +17,7 @@ SRC_URI += "file://run-ptest \ file://0001-selftests-timers-Fix-clock_adjtime-for-newer-32-bit-.patch \ " -# now we just test bpf and vm +# now we just test bpf and mm (formerly known as vm) # we will append other kernel selftest in the future # bpf was added in 4.10 with: https://github.com/torvalds/linux/commit/5aa5bd14c5f8660c64ceedf14a549781be47e53d # if you have older kernel than that you need to remove it from PACKAGECONFIG @@ -25,20 +25,20 @@ PACKAGECONFIG ??= "firmware" # bpf needs working clang compiler anyway PACKAGECONFIG:append:toolchain-clang:x86-64 = " bpf" PACKAGECONFIG:remove:x86 = "bpf" -PACKAGECONFIG:remove:arm = "bpf vm" +PACKAGECONFIG:remove:arm = "bpf mm" # host ptrace.h is used to compile BPF target but mips ptrace.h is needed # progs/loop1.c:21:9: error: incomplete definition of type 'struct user_pt_regs' # m = PT_REGS_RC(ctx); -# vm tests need libhugetlbfs starting 5.8+ (https://lkml.org/lkml/2020/4/22/1654) -PACKAGECONFIG:remove:qemumips = "bpf vm" +# mm tests need libhugetlbfs starting 5.8+ (https://lkml.org/lkml/2020/4/22/1654) +PACKAGECONFIG:remove:qemumips = "bpf mm" # riscv does not support libhugetlbfs yet -PACKAGECONFIG:remove:riscv64 = "bpf vm" -PACKAGECONFIG:remove:riscv32 = "bpf vm" +PACKAGECONFIG:remove:riscv64 = "bpf mm" +PACKAGECONFIG:remove:riscv32 = "bpf mm" PACKAGECONFIG[bpf] = ",,elfutils elfutils-native libcap libcap-ng rsync-native python3-docutils-native," PACKAGECONFIG[firmware] = ",,libcap, bash" -PACKAGECONFIG[vm] = ",,libcap libhugetlbfs,libgcc bash" +PACKAGECONFIG[mm] = ",,libcap libhugetlbfs,libgcc bash" do_patch[depends] += "virtual/kernel:do_shared_workdir" do_compile[depends] += "virtual/kernel:do_install" @@ -48,7 +48,7 @@ inherit linux-kernel-base module-base kernel-arch ptest siteinfo DEBUG_PREFIX_MAP:remove = "-fcanon-prefix-map" TEST_LIST = "\ - ${@bb.utils.filter('PACKAGECONFIG', 'bpf firmware vm', d)} \ + ${@bb.utils.filter('PACKAGECONFIG', 'bpf firmware mm', d)} \ cpufreq \ cpu-hotplug \ rtc \