mirror of https://github.com/torvalds/linux.git
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 |
||
|---|---|---|
| .. | ||
| Makefile | ||
| amd.c | ||
| apei.c | ||
| core.c | ||
| dev-mcelog.c | ||
| genpool.c | ||
| inject.c | ||
| intel.c | ||
| internal.h | ||
| p5.c | ||
| severity.c | ||
| threshold.c | ||
| winchip.c | ||