[PATCH 0/5] x86/CPU: Improve AMD Erratum 400 workaround

From: Borislav Petkov
Date: Fri Dec 09 2016 - 13:29:40 EST


From: Borislav Petkov <bp@xxxxxxx>

Hi,

here's the final version of the pile we've been working on for a while
now, trying to remove that rdmsr on the idle path.

@jolsa: just wait until it lands in tip and then you can run it on your
box.

Thanks.

Borislav Petkov (2):
x86/cpufeature: Provide helper to set bugs bits
x86/amd: Simplify AMD E400 aware idle routine

Thomas Gleixner (3):
x86/bugs: Separate AMD E400 erratum and C1E bug
x86/amd: Check for the C1E bug post ACPI subsystem init
x86: Remove empty idle.h header

arch/x86/include/asm/acpi.h | 2 +-
arch/x86/include/asm/apic.h | 1 -
arch/x86/include/asm/cpufeature.h | 1 +
arch/x86/include/asm/cpufeatures.h | 2 +
arch/x86/include/asm/idle.h | 6 --
arch/x86/include/asm/processor.h | 3 +-
arch/x86/kernel/apic/apic.c | 3 +-
arch/x86/kernel/apic/io_apic.c | 1 -
arch/x86/kernel/cpu/amd.c | 20 +++---
arch/x86/kernel/cpu/common.c | 1 -
arch/x86/kernel/cpu/mcheck/mce_amd.c | 1 -
arch/x86/kernel/cpu/mcheck/therm_throt.c | 1 -
arch/x86/kernel/cpu/mcheck/threshold.c | 1 -
arch/x86/kernel/cpu/mshyperv.c | 1 -
arch/x86/kernel/irq.c | 1 -
arch/x86/kernel/irq_64.c | 1 -
arch/x86/kernel/kvm.c | 1 -
arch/x86/kernel/process.c | 102 +++++++++++++++----------------
arch/x86/kernel/process_32.c | 1 -
arch/x86/kernel/process_64.c | 1 -
arch/x86/kernel/smpboot.c | 2 -
arch/x86/platform/uv/tlb_uv.c | 1 -
drivers/acpi/processor_idle.c | 2 +-
drivers/thermal/intel_powerclamp.c | 1 -
drivers/xen/events/events_base.c | 1 -
init/main.c | 3 +
26 files changed, 74 insertions(+), 87 deletions(-)
delete mode 100644 arch/x86/include/asm/idle.h

--
2.11.0