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. 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 (#16165): https://lists.yoctoproject.org/g/linux-yocto/message/16165 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]] -=-=-=-=-=-=-=-=-=-=-=-
