diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-01-26 04:30:41 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-26 12:36:24 +0100 |
commit | 99fb4d349db7e7dacb2099c5cc320a9e2d31c1ef (patch) | |
tree | 62d62cb8f17962e9318177240c6154a4ca708077 /lib/hweight.c | |
parent | ef5fa0ab24b87646c7bc98645acbb4b51fc2acd4 (diff) | |
download | kernel-crypto-99fb4d349db7e7dacb2099c5cc320a9e2d31c1ef.tar.gz kernel-crypto-99fb4d349db7e7dacb2099c5cc320a9e2d31c1ef.tar.xz kernel-crypto-99fb4d349db7e7dacb2099c5cc320a9e2d31c1ef.zip |
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>
Diffstat (limited to 'lib/hweight.c')
0 files changed, 0 insertions, 0 deletions