Skip to content

x86/kconfig: Synchronize the x86 defconfigs with distribution configs

Ingo Molnar lkml 1 version Applied

Status from this message: The following commit has been merged into the x86/kconfig branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest13 patches 13 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/13x86/kconfig/64: Refresh defconfigarch/x86/configs/x86_64_defconfig+1 -80 replies
2/13x86/kconfig/32: Refresh defconfigarch/x86/configs/i386_defconfig+3 -110 replies
3/13x86/kbuild: Remove ancient 'arch/i386/' and 'arch/x86_64/' directory removal 'archclean' targetarch/x86/Makefile+0 -42 replies
4/13x86/tools: insn_decoder_test.c: Emit standard build success messagesarch/x86/tools/insn_decoder_test.c+1 -10 replies
5/13x86/tools: insn_sanity.c: Emit standard build success messagesarch/x86/tools/insn_sanity.c+2 -20 replies
6/13x86/kconfig/64: Enable the KVM host in the defconfigarch/x86/configs/x86_64_defconfig+5 -00 replies
7/13x86/kconfig/64: Enable more virtualization guest options in the defconfig: enable Xen, Xen_PVH, Jailhouse, ACRN, Intel TDX and Hyper-Varch/x86/configs/x86_64_defconfig+13 -17 replies
8/13x86/kconfig/64: Enable BPF support in the defconfigarch/x86/configs/x86_64_defconfig+7 -00 replies
9/13x86/kconfig/64: Enable popular MM options in the defconfigarch/x86/configs/x86_64_defconfig+20 -05 replies
10/13x86/kconfig/64: Enable popular kernel debugging options in the defconfigarch/x86/configs/x86_64_defconfig+43 -30 replies
11/13x86/kconfig/64: Enable popular scheduler, cgroups and namespaces options in the defconfigarch/x86/configs/x86_64_defconfig+22 -30 replies
12/13x86/kconfig/64: Enable popular generic kernel options in the defconfigarch/x86/configs/x86_64_defconfig+2 -00 replies
13/13x86/kconfig/32: Synchronize the x86-32 defconfig to the x86-64 defconfigarch/x86/configs/i386_defconfig+110 -60 replies

Reviews trailers per patch

1 of 13 patches has a Reviewed-by or Acked-by.

PatchKirill A. ShutemovMichael KelleyVitaly Kuznetsov
1/13
2/13
3/13
4/13
5/13
6/13
7/13A-b T-b A-b
8/13
9/13
10/13
11/13
12/13
13/13

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH -v3 00/13] x86/kconfig: Synchronize the x86 defconfigs with distribution configs

Changes in -v3:

- Drop patches that renamed the defconfig files, and the introduction of the x86_32 subarchitecture string

- Rebase to v6.15-rc6

This series can also be accessed through my Git tree:

git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git WIP.x86/kconfig

Thanks,

Ingo

===============>
Changes in -v2:

- Switch from CONFIG_DEBUG_LIST=y to the lower-overhead CONFIG_LIST_HARDENING=y option

- Add Hyper-V

- Propagate the above changes to x86_32

- Add review tags

Changes in -v1 (initial announcement):

Historically the x86 defconfigs aimed to be distro kernel work-alikes with fewer drivers and a substantially shorter build time. We regularly ask our contributors to test their changes on x86 defconfigs, and we frequently analyze code generation on such kernels as well.

In practice, over the past couple of years this goal has diverged from what actual modern Linux distributions do these days, and this series aims to correct that divergence.

Perform a thorough modernization of the x86 defconfigs, and apply some cleanups to the x86 build system as well:

- Enable various kernel features that the most popular Linux distributions have enabled in their generic kernels these days: KVM host, BPF support, UBSAN, various MM options, debugging options, various scheduler and cgroups options, support for a number of guest OS platforms, and other options.

- More specifically, these changes enable a rough superset of the kernel features enabled by Ubuntu, Fedora/RHEL kernels.

- Clean up the organization of the defconfig files as well. [Note: REMOVED in -v3]

- Add the ARCH=x86_32 build target [Note: REMOVED in -v3]

- Synchronize the x86_32 defconfig to the x86_64 defconfig:
this file is really just a random set of options configured many years ago with no relevance to anything people are using today anymore. Just follow the 64-bit options to the extent possible, to have at least one modern frame of reference.

- Clean up a number of kbuild details

Thanks,

Ingo

================>

Ingo Molnar (13):
x86/kconfig/64: Refresh defconfig
x86/kconfig/32: Refresh defconfig
x86/kbuild: Remove ancient 'arch/i386/' and 'arch/x86_64/' directory removal 'archclean' target
x86/tools: insn_decoder_test.c: Emit standard build success messages
x86/tools: insn_sanity.c: Emit standard build success messages
x86/kconfig/64: Enable the KVM host in the defconfig
x86/kconfig/64: Enable more virtualization guest options in the defconfig: enable Xen, Xen_PVH, Jailhouse, ACRN, Intel TDX and Hyper-V x86/kconfig/64: Enable BPF support in the defconfig
x86/kconfig/64: Enable popular MM options in the defconfig
x86/kconfig/64: Enable popular kernel debugging options in the defconfig
x86/kconfig/64: Enable popular scheduler, cgroups and namespaces options in the defconfig
x86/kconfig/64: Enable popular generic kernel options in the defconfig
x86/kconfig/32: Synchronize the x86-32 defconfig to the x86-64 defconfig

 arch/x86/Makefile                  |   4 --
 arch/x86/configs/i386_defconfig    | 130 ++++++++++++++++++++++++++++++++-----
 arch/x86/configs/x86_64_defconfig  | 128 +++++++++++++++++++++++++++++++-----
 arch/x86/tools/insn_decoder_test.c |   2 +-
 arch/x86/tools/insn_sanity.c       |   4 +-
 5 files changed, 229 insertions(+), 39 deletions(-)
Signature · 1 line
2.45.2