From 4d5791d9ff515ba1660234b1987eae4d4e90eeca Mon Sep 17 00:00:00 2001 From: Naveen Saini Date: Mon, 26 Apr 2021 16:40:22 +0800 Subject: linux-intel/5.10: disable kernel config bsp audit for now Following commit is backported from mainline 5.12-rc to linux-intel 5.10 kernel[1] Commit: https://github.com/torvalds/linux/commit/26499e0518a77de29e7db2c53fb0d0e9e15be8fb In which 'CONFIG_DRM_GMA3600' config option is dropped. This causing warning during config audit. So suppress the harmless warning for now. WARNING: do_kernel_configcheck: [kernel config]: This BSP contains fragments with warnings: [INFO]: the following symbols were not found in the active configuration: - CONFIG_DRM_GMA3600 Disabling CONFIG_SND_SOC_INTEL_SKYLAKE for 32-bit, does not allow to set CONFIG_SND_SOC_INTEL_SST too, which causing config warning too: WARNING: do_configcheck: [kernel config]: specified values did not make it into the kernel's final configuration: [NOTE]: 'CONFIG_SND_SOC_INTEL_SST' last val (m) and .config val (n) do not match [INFO]: CONFIG_SND_SOC_INTEL_SST : n [INFO]: raw config text: config SND_SOC_INTEL_SST tristate depends on SND_SOC_INTEL_SST_TOPLEVEL && SND_SOC && SND && !UML && SOUND Config 'SND_SOC_INTEL_SST' has the following Direct dependencies (SND_SOC_INTEL_SST=m): SND_SOC_INTEL_SST_TOPLEVEL(=y) && SND_SOC(=m) && SND(=y) && !UML(undefined/n) (=y) && SOUND(=y) Parent dependencies are: SND_SOC [m] SND_SOC_INTEL_SST_TOPLEVEL [y] SND [y] UML [UML] SOUND [y] [INFO]: config 'CONFIG_SND_SOC_INTEL_SST' was set, but it wasn't assignable, check (parent) dependencies [INFO]: selection details for 'CONFIG_SND_SOC_INTEL_SST': Symbols currently n-selecting this symbol (no effect): - SND_SOC_INTEL_SKYLAKE_COMMON [1] https://github.com/intel/linux-intel-lts/commit/ab7a5829db53036342a00adb46c6ded27f9a33da Signed-off-by: Naveen Saini Signed-off-by: Anuj Mittal --- recipes-kernel/linux/linux-intel-rt_5.10.bb | 10 ++++++++++ recipes-kernel/linux/linux-intel_5.10.bb | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/recipes-kernel/linux/linux-intel-rt_5.10.bb b/recipes-kernel/linux/linux-intel-rt_5.10.bb index 7d67fb0a..16e8149e 100644 --- a/recipes-kernel/linux/linux-intel-rt_5.10.bb +++ b/recipes-kernel/linux/linux-intel-rt_5.10.bb @@ -23,3 +23,13 @@ SRCREV_machine ?= "774cd893ee3f4044305e0a7bf5090e32b72578b3" SRCREV_meta ?= "eb09284047fec2f09d62068c338ae320c6681bd1" LINUX_KERNEL_TYPE = "preempt-rt" + +# Following commit is backported from mainline 5.12-rc to linux-intel 5.10 kernel +# Commit: https://github.com/torvalds/linux/commit/26499e0518a77de29e7db2c53fb0d0e9e15be8fb +# In which 'CONFIG_DRM_GMA3600' config option is dropped. +# This causes warning during config audit. So suppress the harmless warning for now. +KCONF_BSP_AUDIT_LEVEL = "0" + +# Disabling CONFIG_SND_SOC_INTEL_SKYLAKE for 32-bit, does not allow to set CONFIG_SND_SOC_INTEL_SST too, which +# causes config warning too. +KCONF_AUDIT_LEVEL_core2-32-intel-common = "0" diff --git a/recipes-kernel/linux/linux-intel_5.10.bb b/recipes-kernel/linux/linux-intel_5.10.bb index 399ab014..4e33b45e 100644 --- a/recipes-kernel/linux/linux-intel_5.10.bb +++ b/recipes-kernel/linux/linux-intel_5.10.bb @@ -20,3 +20,13 @@ KERNEL_MODULE_AUTOLOAD_append_corei7-64-intel-common = " uio" # Functionality flags KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc features/security/security.scc" + +# Following commit is backported from mainline 5.12-rc to linux-intel 5.10 kernel +# Commit: https://github.com/torvalds/linux/commit/26499e0518a77de29e7db2c53fb0d0e9e15be8fb +# In which 'CONFIG_DRM_GMA3600' config option is dropped. +# This causes warning during config audit. So suppress the harmless warning for now. +KCONF_BSP_AUDIT_LEVEL = "0" + +# Disabling CONFIG_SND_SOC_INTEL_SKYLAKE for 32-bit, does not allow to set CONFIG_SND_SOC_INTEL_SST too, which +# causes config warning too. +KCONF_AUDIT_LEVEL_core2-32-intel-common = "0" -- cgit v1.2.3-54-g00ecf