[PATCH 0/7] x86/mce/amd: Fix some CPU hotplug insanity
From: Borislav Petkov
Date: Fri Apr 03 2020 - 12:19:52 EST
From: Borislav Petkov <bp@xxxxxxx>
Hi,
so tglx found a couple of issues while we were talking about something
else and threw a couple of fixes over the wall, my way. Here's the
productized and tested result.
Thx.
Thomas Gleixner (7):
x86/mce/amd: Do proper cleanup on error paths
x86/mce/amd: Init thresholding machinery only on relevant vendors
x86/mce/amd: Protect a not-fully initialized bank from the
thresholding interrupt
x86/mce/amd: Sanitize thresholding device creation hotplug path
x86/mce/amd: Straighten CPU hotplug path
x86/mce/amd: Cleanup threshold device remove path
x86/mce/amd: Make threshold bank setting hotplug robust
arch/x86/include/asm/amd_nb.h | 1 +
arch/x86/kernel/cpu/mce/amd.c | 224 ++++++++++++++---------------
arch/x86/kernel/cpu/mce/core.c | 12 ++
arch/x86/kernel/cpu/mce/internal.h | 9 +-
4 files changed, 131 insertions(+), 115 deletions(-)
--
2.21.0