On 11/13/18 8:57 AM, Paul Bolle wrote:
For some time now the build generates a number of override warnings,
like this one:
[...]:warning: override: VIRT_CPU_ACCOUNTING_NATIVE changes choice state
These warnings are triggered when the build uses a .config that has
more than one option set in a Kconfig "choice". But the kernel build
system will only allow one option per "choice".
This small series fixes all current warnings. It doesn't change the
final .configs that the kernel build system will use. (That was my goal
for this series.) So this series should only result in a quieter build.
I'd really appreciate any testing to uncover whether I missed something.
I'm behind due to conference travel but I'm very happy to see this
getting fixed. I'll make sure to take a look at this if someone
else doesn't get to it first.
Thanks,
Laura
Paul Bolle (3):
configs: correct cpu accounting configuration
configs: correct memory configuration
configs: use CONFIG_UNWINDER_ORC only in x86/x86_64
configs/fedora/generic/CONFIG_FLATMEM_MANUAL | 1 -
configs/fedora/generic/CONFIG_VIRT_CPU_ACCOUNTING_NATIVE | 2 +-
.../fedora/generic/powerpc/CONFIG_VIRT_CPU_ACCOUNTING_NATIVE | 1 +
configs/fedora/generic/s390x/CONFIG_TICK_CPU_ACCOUNTING | 1 +
.../fedora/generic/s390x/CONFIG_VIRT_CPU_ACCOUNTING_NATIVE | 1 +
configs/fedora/generic/x86/x86_64/CONFIG_TICK_CPU_ACCOUNTING | 1 +
configs/fedora/generic/{ => x86/x86_64}/CONFIG_UNWINDER_ORC | 0
kernel-aarch64-debug.config | 4 +---
kernel-aarch64.config | 4 +---
kernel-armv7hl-debug.config | 4 +---
kernel-armv7hl-lpae-debug.config | 4 +---
kernel-armv7hl-lpae.config | 4 +---
kernel-armv7hl.config | 4 +---
kernel-i686-debug.config | 3 +--
kernel-i686.config | 3 +--
kernel-ppc64le-debug.config | 2 --
kernel-ppc64le.config | 2 --
kernel-s390x-debug.config | 4 +---
kernel-s390x.config | 4 +---
kernel-x86_64-debug.config | 5 ++---
kernel-x86_64.config | 5 ++---
21 files changed, 19 insertions(+), 40 deletions(-)
delete mode 100644 configs/fedora/generic/CONFIG_FLATMEM_MANUAL
create mode 100644 configs/fedora/generic/powerpc/CONFIG_VIRT_CPU_ACCOUNTING_NATIVE
create mode 100644 configs/fedora/generic/s390x/CONFIG_TICK_CPU_ACCOUNTING
create mode 100644 configs/fedora/generic/s390x/CONFIG_VIRT_CPU_ACCOUNTING_NATIVE
create mode 100644 configs/fedora/generic/x86/x86_64/CONFIG_TICK_CPU_ACCOUNTING
rename configs/fedora/generic/{ => x86/x86_64}/CONFIG_UNWINDER_ORC (100%)