]> git.baikalelectronics.ru Git - kernel.git/commit
x86: unmask CPUID levels on Intel CPUs, fix
authorIngo Molnar <mingo@elte.hu>
Mon, 26 Jan 2009 03:30:41 +0000 (04:30 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 26 Jan 2009 11:36:24 +0000 (12:36 +0100)
commit742cfa830860e992b1fff70878067935a1b53374
tree62d62cb8f17962e9318177240c6154a4ca708077
parent7cf00e4a6ea14382b3ae7979ca6eae354378f873
x86: unmask CPUID levels on Intel CPUs, fix

Impact: fix boot hang on pre-model-15 Intel CPUs

rdmsrl_safe() does not work in very early bootup code yet, because we
dont have the pagefault handler installed yet so exception section
does not get parsed. rdmsr_safe() will just crash and hang the bootup.

So limit the MSR_IA32_MISC_ENABLE MSR read to those CPU types that
support it.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/intel.c