linux-yocto/6.12: cfg: fix iommu configuration for -tiny kernel
PATCH 1/1 linux-yocto/6.12: cfg: fix iommu configuration for -tiny kernel
From: Bruce Ashfield <[email protected]>
Integrating the following commit(s) to linux-yocto/.:
1/1 [
Author: Bruce Ashfield
Email: [email protected]
Subject: iommu: add config dependencies
Date: Sun, 20 Apr 2025 22:28:21 -0400
commit [cfg/intel.scc: Include iommu.scc for Arrowlake boot support] moves the iommu configuration to a location that is included by more BSPs and kernel types.
One of those kernel types is the -tiny kernel, which uses a allnoconfig base. Due to the allnoconfig, there are missing dependencies to allow the desired options to be enabled in the final .config
Those missing options throw configuration audit warnings
By adding the required dependencies to the fragment, it is now standalone and can be included from anywhere without configuration audit warnings being triggered.
]
---
Richard,
Apply this after the existing iommu configuration update and -tiny should no build without audit warnings.
Bruce
meta/recipes-kernel/linux/linux-yocto-rt_6.12.bb | 2 +- meta/recipes-kernel/linux/linux-yocto-tiny_6.12.bb | 2 +- meta/recipes-kernel/linux/linux-yocto_6.12.bb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
meta/recipes-kernel/linux/linux-yocto-rt_6.12.bb +1 -1
@@ -15,7 +15,7 @@ python () { } SRCREV_machine ?= "8569a61bf30561b620c3171431906cd8ddb7d095" -SRCREV_meta ?= "6d55bad30f3e379bf2ad98d971d1ada4f48e2eff" +SRCREV_meta ?= "d36334a8b9597faf3978548085097c3b54d462d1" SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine;protocol=https \ git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-6.12;destsuffix=${KMETA};protocol=https"
meta/recipes-kernel/linux/linux-yocto-tiny_6.12.bb +1 -1
@@ -18,7 +18,7 @@ KMETA = "kernel-meta" KCONF_BSP_AUDIT_LEVEL = "2" SRCREV_machine ?= "c2c450e032c7bf2653e50fc0a87329ce5660b6be" -SRCREV_meta ?= "6d55bad30f3e379bf2ad98d971d1ada4f48e2eff" +SRCREV_meta ?= "d36334a8b9597faf3978548085097c3b54d462d1" PV = "${LINUX_VERSION}+git"
meta/recipes-kernel/linux/linux-yocto_6.12.bb +1 -1
@@ -29,7 +29,7 @@ SRCREV_machine:qemux86 ?= "c2c450e032c7bf2653e50fc0a87329ce5660b6be" SRCREV_machine:qemux86-64 ?= "c2c450e032c7bf2653e50fc0a87329ce5660b6be" SRCREV_machine:qemumips64 ?= "8a34918e22d2fc3b37282d1929e760747762b74e" SRCREV_machine ?= "c2c450e032c7bf2653e50fc0a87329ce5660b6be" -SRCREV_meta ?= "6d55bad30f3e379bf2ad98d971d1ada4f48e2eff" +SRCREV_meta ?= "d36334a8b9597faf3978548085097c3b54d462d1" # set your preferred provider of linux-yocto to 'linux-yocto-upstream', and you'll # get the <version>/base branch, which is pure upstream -stable, and the same
Signature · 1 line
2.39.2