Skip to content

x86: Improve defconfigs for use on current systems

Josh Triplett lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5x86: Update defconfigs to current results of "make savedefconfig"arch/x86/configs/i386_defconfig arch/x86/configs/x86_64_defconfig+8 -161 reply
2/5x86: Switch to ext4 in defconfigsarch/x86/configs/i386_defconfig arch/x86/configs/x86_64_defconfig+6 -81 reply
3/5x86: Disable CONFIG_CRC_T10DIF in defconfigsarch/x86/configs/i386_defconfig arch/x86/configs/x86_64_defconfig+0 -21 reply
4/5x86, defconfig: Turn off CONFIG_BLK_DEV_RAMarch/x86/configs/i386_defconfig arch/x86/configs/x86_64_defconfig+0 -41 reply
5/5x86: Turn off DEBUG_NX_TEST module in defconfigsarch/x86/configs/i386_defconfig arch/x86/configs/x86_64_defconfig+0 -21 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] x86: Improve defconfigs for use on current systems

After repeatedly going through the cycle of building a "make defconfig" kernel, trying to boot it, getting a kernel panic, turning on ext4, and rebuilding, I figured I'd actually get the defconfigs fixed to work on modern systems with ext4 root filesystems. Patch 2 of this patch series does exactly that. Hopefully this will prove uncontroversial.

To avoid extraneous noise in patch 2, I first updated the defconfigs to match the current results of "make defconfig && make savedefconfig", resulting in patch 1.

Finally, while reviewing the defconfigs, I also ran into a few other random things to clean up, resulting in patches 3-5. Patch 3 disables some library code that only exists to support out-of-tree modules (in-tree modules properly depend on it); patch 4 disables initrd support (in favor of initramfs); patch 5 disables a special-purpose test module that represents the one and only module built by default. These seem reasonable to me, but if anyone finds one of these three changes objectionable, please feel free to drop that change. I primarily care about getting patches 1-2 merged, to avoid a very common annoyance.

Josh Triplett (5):
x86: Update defconfigs to current results of "make savedefconfig"
x86: Switch to ext4 in defconfigs
x86: Disable CONFIG_CRC_T10DIF in defconfigs
x86, defconfig: Turn off CONFIG_BLK_DEV_RAM
x86: Turn off DEBUG_NX_TEST module in defconfigs

 arch/x86/configs/i386_defconfig   |   23 +++++++----------------
 arch/x86/configs/x86_64_defconfig |   23 +++++++----------------
 2 files changed, 14 insertions(+), 32 deletions(-)
Signature · 1 line
1.7.10.4