]> git.baikalelectronics.ru Git - kernel.git/commit
x86/Kconfig: Explicitly enumerate i686-class CPUs in Kconfig
authorMatthew Whitehead <tedheadster@gmail.com>
Thu, 15 Feb 2018 16:54:56 +0000 (11:54 -0500)
committerIngo Molnar <mingo@kernel.org>
Fri, 16 Feb 2018 09:36:39 +0000 (10:36 +0100)
commitdd4232fdb2d9a41c4f6ef3e0b3e5d94b5ebfd03c
tree09aa9177fa2ec4acb616079a6fb53e94c7b71442
parentbba4718fe0367504a3e876422c96191311fad2a3
x86/Kconfig: Explicitly enumerate i686-class CPUs in Kconfig

The X86_P6_NOP config class leaves out many i686-class CPUs. Instead,
explicitly enumerate all these CPUs.

Using a configuration with M686 currently sets X86_MINIMUM_CPU_FAMILY=5
instead of the correct value of 6.

Booting on an i586 it will fail to generate the "This kernel
requires an i686 CPU, but only detected an i586 CPU" message and
intentional halt as expected. It will instead just silently hang
when it hits i686-specific instructions.

Signed-off-by: Matthew Whitehead <tedheadster@gmail.com>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Arjan van de Ven <arjan@linux.intel.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1518713696-11360-3-git-send-email-tedheadster@gmail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/Kconfig.cpu