Hi, On Fri, Jan 09, 2026 at 11:37:18AM -0500, Bruce Ashfield wrote: > On Fri, Jan 9, 2026 at 10:35 AM Mikko Rapeli via lists.yoctoproject.org > <[email protected]> wrote: > > > These get effectively disabled on other archs > > and cause warnings from merge_config.sh. > > > > And again, we can't make everything conditional, it > will become very hard to maintain. So either those > warnings are ignored (which is what my audit does > in the builds), or they need to be in an arch specific > fragment. > > Not everything should go into arch specific fragments > or have conditionals, as I go back to that design decision > to filter warnings to make the configuration stacks > simpler.
In numa this is one single x86 specific config among many which are usable across archs. That is not much and can be easily handled correctly. I'm not trying to move everything or force everyone to do this but I would like genericarm64 kernel config to be clean and not try to set x86 specific options which end up getting disabled due to dependencies. The tooling to detect these are currently outside in patches to kernel kconfig side merge_config.sh but hopefully they can be in yocto kernel/oe-core too. https://lore.kernel.org/linux-kbuild/[email protected]/T/#t Cheers, -Mikko > Bruce > > > > > > > Signed-off-by: Mikko Rapeli <[email protected]> > > --- > > features/numa/numa.cfg | 1 - > > features/numa/numa.scc | 4 ++++ > > features/numa/numa_x86_64.cfg | 2 ++ > > 3 files changed, 6 insertions(+), 1 deletion(-) > > create mode 100644 features/numa/numa_x86_64.cfg > > > > diff --git a/features/numa/numa.cfg b/features/numa/numa.cfg > > index 2cf4bae2d3ae..2cb872a75ed4 100644 > > --- a/features/numa/numa.cfg > > +++ b/features/numa/numa.cfg > > @@ -2,7 +2,6 @@ > > CONFIG_NUMA=y > > CONFIG_NUMA_BALANCING=y > > CONFIG_NUMA_BALANCING_DEFAULT_ENABLED=y > > -CONFIG_X86_64_ACPI_NUMA=y > > CONFIG_NUMA_EMU=y > > CONFIG_NODES_SHIFT=6 > > CONFIG_USE_PERCPU_NUMA_NODE_ID=y > > diff --git a/features/numa/numa.scc b/features/numa/numa.scc > > index 854998b1b026..a53a68c23bee 100644 > > --- a/features/numa/numa.scc > > +++ b/features/numa/numa.scc > > @@ -2,3 +2,7 @@ > > define KFEATURE_DESCRIPTION "Enable numa support" > > > > kconf hardware numa.cfg > > + > > +if [ "$KARCH" = "x86_64" ]; then > > + kconf hardware numa_x86_64.cfg > > +fi > > diff --git a/features/numa/numa_x86_64.cfg b/features/numa/numa_x86_64.cfg > > new file mode 100644 > > index 000000000000..931c46e92040 > > --- /dev/null > > +++ b/features/numa/numa_x86_64.cfg > > @@ -0,0 +1,2 @@ > > +# SPDX-License-Identifier: MIT > > +CONFIG_X86_64_ACPI_NUMA=y > > -- > > 2.34.1 > > > > > > > > > > > > -- > - Thou shalt not follow the NULL pointer, for chaos and madness await thee > at its end > - "Use the force Harry" - Gandalf, Star Trek II
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#16200): https://lists.yoctoproject.org/g/linux-yocto/message/16200 Mute This Topic: https://lists.yoctoproject.org/mt/117176761/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
