[PATCH v2 0/2] AMD SMCA Updates
From: Yazen Ghannam
Date: Thu Dec 16 2021 - 11:29:24 EST
Hi all,
This set adds supports for SMCA changes in future AMD systems.
Patch 1 adds new bank types and error descriptions used in future AMD
systems.
Patch 2 adjusts how SMCA bank information is cached. Future AMD systems
will have different bank type layouts between logical CPUs. So having a
single system-wide cache of the layout won't be correct.
Patch 1 from V1 was dropped from this set. I plan to send another set
for the thresholding sysfs updates discussed here:
https://lkml.kernel.org/r/20211203020017.728440-2-yazen.ghannam@xxxxxxx
I expect there will be a few patches for adding the new interface,
removing the old interface and stale data strucutures, and documenting
the new interface.
Thanks,
Yazen
Link:
https://lkml.kernel.org/r/20211203020017.728440-1-yazen.ghannam@xxxxxxx
v1->v2:
* Drop patch 1 from v1 set and rework the remaining patches.
Yazen Ghannam (2):
x86/MCE/AMD, EDAC/mce_amd: Add new SMCA Bank Types
x86/MCE/AMD, EDAC/mce_amd: Support non-uniform MCA bank type
enumeration
arch/x86/include/asm/mce.h | 25 ++--
arch/x86/kernel/cpu/mce/amd.c | 87 ++++++++++----
drivers/edac/mce_amd.c | 146 +++++++++++++++++++++---
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 2 +-
4 files changed, 202 insertions(+), 58 deletions(-)
--
2.25.1