From 1a86d672f02f0fa29ac4113fc3d1b676460350c6 Mon Sep 17 00:00:00 2001 From: Alexandru Avadanii Date: Tue, 6 Jul 2021 17:25:26 +0200 Subject: linux-intel: Allow using "63" as alias for "last" Previous Enea Edge releases hardcode the kernel args in a way that cannot currently be changed on upgrade. Due to upstream changes in the kernel, specifying a non-existent CPU, e.g. greater than the number of the last CPU is no longer supported and leads to nohz_full, isolcpus, rcu_nocbs no longer being honored. Until we have a proper mechanism in place that will allow specifying kernel arguments per-boot-entry; we alias "63" to "last", so that expressions like "1-63" are equivalent to "1-last". This will ensure backwards compatibility with kernel 4.14 arguments. Note: This relies on the assumption that we don't support boards with more than 64 cores and should be removed as soon as per-boot-entry kernel args are supported. Change-Id: I21d99315192ea4dc224f11314557e0a5ed1b34b6 Signed-off-by: Alexandru Avadanii --- recipes-kernel/linux/linux-intel.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/recipes-kernel/linux/linux-intel.inc b/recipes-kernel/linux/linux-intel.inc index 48a1894..685984c 100644 --- a/recipes-kernel/linux/linux-intel.inc +++ b/recipes-kernel/linux/linux-intel.inc @@ -4,7 +4,7 @@ require recipes-kernel/linux/linux-intel_5.10.bb require recipes-kernel/linux/linux-deploy-kconfig.inc require recipes-kernel/linux/linux-common-config.inc -SRCREV_metaenea = "8dc3b0976651277b49123ab7cdf7ffe5bd250f8d" +SRCREV_metaenea = "f86788bac0c8aaa0903aa2ef3b98ec0327a56d5b" KENEABRANCH = "intel-5.10" SRC_URI_append = " git://git@git.enea.com/linux/enea-kernel-cache.git;protocol=ssh;type=kmeta;name=metaenea;branch=${KENEABRANCH};destsuffix=enea-kernel-meta" @@ -56,6 +56,9 @@ KERNEL_FEATURES_append = " features/ipmi/ipmi_ssif.scc" # ACPI Tiny power button KERNEL_FEATURES_append = " features/acpi/acpi_tiny_pwrbtn_y.scc" +# CPULIST: Allow using "63" as an alias for "last" in nohz_full, isolcpus etc. +KERNEL_FEATURES_append = " features/cpulist_abbrev/cpulist_abbrev_enea.scc" + # IPv4 waiting for carrier on KERNEL_FEATURES_append = " patches/ipv4/ipv4wait.scc" -- cgit v1.2.3-54-g00ecf