apic, x86: Use BIOS settings to setup AMD EILVT APIC registers
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | apic, x86: Check if EILVT APIC registers are available (AMD only)arch/ arch/ | +75 | 1 reply | |
| 2/2 | apic, x86: Use BIOS settings for IBS and MCE threshold interrupt LVT offsetsarch/ arch/ arch/ +1 more | +154 | 6 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] apic, x86: Use BIOS settings to setup AMD EILVT APIC registers
This patch set changes the way of setting up EILVT APIC registers (APIC500-530). See family 10h bkdg:
http://support.amd.com/us/Processor_TechDocs/31116.pdf
Until now, Linux has assigned fixed LVT offsets for IBS and MCE threshold. With the introduction of new cpu families we want to be more flexible and assign those LVT offsets dynamically. The general apporach here is to let the BIOS decide which offsets to use. Linux will then detect this by reading the corresponding hw registers that contain the LVT offsets.
This requires to check if the BIOS is correctly setting up the LVT offsets. Otherwise a firmware bug message will be thrown. This is implemented in patch #1.
Patch #2 implements the detection of MCE threshold and IBS LVT offsets and changes the subsystem initialization. The code to setup the IBS LVT offset on family 10h systems will remain as a workaround that will be only applied in case of an invalid IBS LVT BIOS setup.
-Robert