On Wed, Dec 4, 2024 at 12:31 PM Arnd Bergmann <arnd@xxxxxxxxxx> wrote: > > From: Arnd Bergmann <arnd@xxxxxxxx> > > The x86 CPU selection menu is confusing for a number of reasons. > One of them is how it's possible to build a 32-bit kernel for > a small number of early 64-bit microarchitectures (K8, Core2) Core 2 It spells with a space starting with a capital letter, some issues of the spelling below as well. > but not the regular generic 64-bit target that is the normal > default. > > There is no longer a reason to run 32-bit kernels on production > 64-bit systems, so simplify the configuration menu by completely > splitting the two into 32-bit-only and 64-bit-only machines. > > Testing generic 32-bit kernels on 64-bit hardware remains > possible, just not building a 32-bit kernel that requires > a 64-bit CPU. > +choice > + prompt "x86-64 Processor family" > + depends on X86_64 > + default GENERIC_CPU > + help > + This is the processor type of your CPU. This information is > + used for optimizing purposes. In order to compile a kernel > + that can run on all supported x86 CPU types (albeit not > + optimally fast), you can specify "Generic-x86-64" here. > + > + Here are the settings recommended for greatest speed: > + - "Opteron/Athlon64/Hammer/K8" for all K8 and newer AMD CPUs. > + - "Intel P4" for the Pentium 4/Netburst microarchitecture. > + - "Core 2/newer Xeon" for all core2 and newer Intel CPUs. Core 2 > + - "Intel Atom" for the Atom-microarchitecture CPUs. > + - "Generic-x86-64" for a kernel which runs on any x86-64 CPU. > + > + See each option's help text for additional details. If you don't know > + what to do, choose "Generic-x86-64". -- With Best Regards, Andy Shevchenko