diff options
author | JP Kobryn <inwardvessel@gmail.com> | 2025-06-27 20:49:35 +0300 |
---|---|---|
committer | Borislav Petkov (AMD) <bp@alien8.de> | 2025-06-28 13:45:48 +0300 |
commit | 30ad231a5029bfa16e46ce868497b1a5cdd3c24d (patch) | |
tree | 1a5a9c2d1cefc2123ed9ae7c4eff85081580ba1e /scripts/lib/kdoc/kdoc_files.py | |
parent | 5f6e3b720694ad771911f637a51930f511427ce1 (diff) | |
download | linux-30ad231a5029bfa16e46ce868497b1a5cdd3c24d.tar.xz |
x86/mce: Make sure CMCI banks are cleared during shutdown on Intel
CMCI banks are not cleared during shutdown on Intel CPUs. As a side effect,
when a kexec is performed, CPUs coming back online are unable to
rediscover/claim these occupied banks which breaks MCE reporting.
Clear the CPU ownership during shutdown via cmci_clear() so the banks can
be reclaimed and MCE reporting will become functional once more.
[ bp: Massage commit message. ]
Reported-by: Aijay Adams <aijay@meta.com>
Signed-off-by: JP Kobryn <inwardvessel@gmail.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Tony Luck <tony.luck@intel.com>
Reviewed-by: Qiuxu Zhuo <qiuxu.zhuo@intel.com>
Cc: <stable@kernel.org>
Link: https://lore.kernel.org/20250627174935.95194-1-inwardvessel@gmail.com
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions