]> git.karo-electronics.de Git - mv-sheeva.git/commit
apic, x86: Use BIOS settings for IBS and MCE threshold interrupt LVT offsets
authorRobert Richter <robert.richter@amd.com>
Wed, 6 Oct 2010 10:27:54 +0000 (12:27 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 20 Oct 2010 02:42:13 +0000 (04:42 +0200)
commit27afdf2008da0b8878a73e32e4eb12381b84e224
tree84aaf8c200f597553a2874b30d9589718d937878
parenta68c439b1966c91f0ef474e2bf275d6792312726
apic, x86: Use BIOS settings for IBS and MCE threshold interrupt LVT offsets

We want the BIOS to setup the EILVT APIC registers. The offsets
were hardcoded and BIOS settings were overwritten by the OS.
Now, the subsystems for MCE threshold and IBS determine the LVT
offset from the registers the BIOS has setup. If the BIOS setup
is buggy on a family 10h system, a workaround enables IBS. If
the OS determines an invalid register setup, a "[Firmware Bug]:
" error message is reported.

We need this change also for upcomming cpu families.

Signed-off-by: Robert Richter <robert.richter@amd.com>
LKML-Reference: <1286360874-1471-3-git-send-email-robert.richter@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/apic.h
arch/x86/kernel/apic/apic.c
arch/x86/kernel/cpu/mcheck/mce_amd.c
arch/x86/oprofile/op_model_amd.c