Skip to contentSkip to conversation

kernel-yocto: kconfig audit warning fixes

PATCH New Bruce Ashfield 1 participant 3 messages Sep 7, 2018

lore
Share & tools
lore
#0 lore raw

cover kernel-yocto: kconfig audit warning fixes

Hi all,

These two patches should address a lot of the kconfig audit warnings that are popping up against 4.14/4.18. We have tweaks to the configs themselves, but also some improvement in the tooling to allow some warnings to be inhibited.

Cheers,

Bruce

The following changes since commit c710430aa1a5a30d3087c3102485d4621e8d179e:

Revert "prelink: Fix SRC_URI and branch" (2018-09-06 14:49:28 +0100)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib zedd/kernel
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=zedd/kernel

Bruce Ashfield (2):
kern-tools: improve kernel config audit output linux-yocto/4.14/4.18: address kernel configuration warnings

 meta/recipes-kernel/kern-tools/kern-tools-native_git.bb | 2 +-
 meta/recipes-kernel/linux/linux-yocto-rt_4.14.bb        | 2 +-
 meta/recipes-kernel/linux/linux-yocto-rt_4.18.bb        | 2 +-
 meta/recipes-kernel/linux/linux-yocto-tiny_4.14.bb      | 2 +-
 meta/recipes-kernel/linux/linux-yocto-tiny_4.18.bb      | 2 +-
 meta/recipes-kernel/linux/linux-yocto_4.14.bb           | 2 +-
 meta/recipes-kernel/linux/linux-yocto_4.18.bb           | 2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)
Signature · 1 line
2.5.0
#1 lore raw

PATCH 1/2 kern-tools: improve kernel config audit output

Recent kernels broke the ability of kconfiglib to parse the Kconfig files and offer reasons why a symbol may not be set. To address this issue, we update to Kconfiglib2 and adjust the symbol_why script to work with the new API.

We also tweak the kconf_check script to allow the specification of a list of option as "non-hardware". This allows a BSP to inhibit warnings on options that it knows are mismatched for a valid reason (i.e. -tiny kernels using common fragments with known missing dependencies).

---
 meta/recipes-kernel/kern-tools/kern-tools-native_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-kernel/kern-tools/kern-tools-native_git.bb +1 -1
index dca567f783b3..b353c21dfbad 100644
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://git/tools/kgit;beginline=5;endline=9;md5=a6c2fa8aef1b
 
 DEPENDS = "git-native"
 
-SRCREV = "602237a57487e969016db3085d181b585f5a74a7"
+SRCREV = "d6529f86fc5bcb3514953ff9fa2f51a3fbf03a0f"
 PR = "r12"
 PV = "0.2+git${SRCPV}"
 
Signature · 1 line
2.5.0
#2 lore raw

PATCH 2/2 linux-yocto/4.14/4.18: address kernel configuration warnings

In reply to Bruce Ashfield

Making the following commits available to address kernel configuration warnings:

734172039130 preempt-rt: remove entry for aufs 7a6753341309 common_pc: remove config audit warnings dea9c6aa7ddd common-pc/tiny: mask configuration warnings

---
 meta/recipes-kernel/linux/linux-yocto-rt_4.14.bb   | 2 +-
 meta/recipes-kernel/linux/linux-yocto-rt_4.18.bb   | 2 +-
 meta/recipes-kernel/linux/linux-yocto-tiny_4.14.bb | 2 +-
 meta/recipes-kernel/linux/linux-yocto-tiny_4.18.bb | 2 +-
 meta/recipes-kernel/linux/linux-yocto_4.14.bb      | 2 +-
 meta/recipes-kernel/linux/linux-yocto_4.18.bb      | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)
meta/recipes-kernel/linux/linux-yocto-rt_4.14.bb +1 -1
index d9953c32bec6..48cdd3560c5c 100644
@@ -12,7 +12,7 @@ python () {
 }
 
 SRCREV_machine ?= "af1b926c9160b0dbf2bbe41b166a8a7b07191fd2"
-SRCREV_meta ?= "5c089e91b398ac284f027a4611979136becbf9b1"
+SRCREV_meta ?= "9beb3a28736e7b00199641864a46ee4b8e2e6428"
 
 SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine \
            git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.14;destsuffix=${KMETA}"
meta/recipes-kernel/linux/linux-yocto-rt_4.18.bb +1 -1
index 5b102069f1f5..2399ac0f356d 100644
@@ -12,7 +12,7 @@ python () {
 }
 
 SRCREV_machine ?= "6b38725fe97a59cefef01b5213a1d234dd38a542"
-SRCREV_meta ?= "22eefa3b53d5231d8df49bae5e01c1b12fbd95d4"
+SRCREV_meta ?= "73417203913023f9438ea196377a363233857172"
 
 SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine \
            git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.18;destsuffix=${KMETA}"
meta/recipes-kernel/linux/linux-yocto-tiny_4.14.bb +1 -1
index a3b40a8a3f3a..393295846ea3 100644
@@ -13,7 +13,7 @@ KMETA = "kernel-meta"
 KCONF_BSP_AUDIT_LEVEL = "2"
 
 SRCREV_machine ?= "74ecbeb03ebfc2b9a73a6554924b043b903295f5"
-SRCREV_meta ?= "5c089e91b398ac284f027a4611979136becbf9b1"
+SRCREV_meta ?= "9beb3a28736e7b00199641864a46ee4b8e2e6428"
 
 PV = "${LINUX_VERSION}+git${SRCPV}"
 
meta/recipes-kernel/linux/linux-yocto-tiny_4.18.bb +1 -1
index ec7e1fcbd9d7..704035f8992a 100644
@@ -14,7 +14,7 @@ KMETA = "kernel-meta"
 KCONF_BSP_AUDIT_LEVEL = "2"
 
 SRCREV_machine ?= "71799edb8a38622626cf3b5582dff152b512ccf0"
-SRCREV_meta ?= "22eefa3b53d5231d8df49bae5e01c1b12fbd95d4"
+SRCREV_meta ?= "73417203913023f9438ea196377a363233857172"
 
 PV = "${LINUX_VERSION}+git${SRCPV}"
 
meta/recipes-kernel/linux/linux-yocto_4.14.bb +1 -1
index 8d9b46fbd3e4..ff1497918633 100644
@@ -19,7 +19,7 @@ SRCREV_machine_qemux86 ?= "084af9624d268ddf4fd65b2f9e8e50ca2f22e62b"
 SRCREV_machine_qemux86-64 ?= "084af9624d268ddf4fd65b2f9e8e50ca2f22e62b"
 SRCREV_machine_qemumips64 ?= "44e1719a8f4fe10e88c13b9ec6c1fa1d041efaed"
 SRCREV_machine ?= "084af9624d268ddf4fd65b2f9e8e50ca2f22e62b"
-SRCREV_meta ?= "5c089e91b398ac284f027a4611979136becbf9b1"
+SRCREV_meta ?= "9beb3a28736e7b00199641864a46ee4b8e2e6428"
 
 SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRANCH}; \
            git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.14;destsuffix=${KMETA}"
meta/recipes-kernel/linux/linux-yocto_4.18.bb +1 -1
index fc1c1ad8e9d0..d6e3768d9245 100644
@@ -19,7 +19,7 @@ SRCREV_machine_qemux86 ?= "71799edb8a38622626cf3b5582dff152b512ccf0"
 SRCREV_machine_qemux86-64 ?= "71799edb8a38622626cf3b5582dff152b512ccf0"
 SRCREV_machine_qemumips64 ?= "f3add308bccafeeed79fde2a3720236bf4fd6457"
 SRCREV_machine ?= "71799edb8a38622626cf3b5582dff152b512ccf0"
-SRCREV_meta ?= "22eefa3b53d5231d8df49bae5e01c1b12fbd95d4"
+SRCREV_meta ?= "73417203913023f9438ea196377a363233857172"
 
 SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRANCH}; \
            git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.18;destsuffix=${KMETA}"
Signature · 1 line
2.5.0