mbox series

[0/3] AMD SMCA Updates

Message ID 20211203020017.728440-1-yazen.ghannam@amd.com (mailing list archive)
Headers show
Series AMD SMCA Updates | expand

Message

Yazen Ghannam Dec. 3, 2021, 2 a.m. UTC
Hi all,

This set adds supports for SMCA changes in future AMD systems.

Patch 1 adds an "unknown" bank type so that sysfs initialization issues
can be avoided on systems with new bank types.

Patch 2 adds new bank types and error descriptions used in future AMD
systems.

Patch 3 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.

Thanks,
Yazen

Yazen Ghannam (3):
  x86/MCE/AMD: Provide an "Unknown" MCA bank type
  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              |  26 ++---
 arch/x86/kernel/cpu/mce/amd.c           | 114 +++++++++++++-----
 drivers/edac/mce_amd.c                  | 148 +++++++++++++++++++++---
 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c |   2 +-
 4 files changed, 228 insertions(+), 62 deletions(-)