diff options
author | Yazen Ghannam <yazen.ghannam@amd.com> | 2025-06-24 17:15:58 +0300 |
---|---|---|
committer | Borislav Petkov (AMD) <bp@alien8.de> | 2025-06-27 14:13:36 +0300 |
commit | d66e1e90b16055d2f0ee76e5384e3f119c3c2773 (patch) | |
tree | 259d097efb1ba800e0986b382dd1415138d09d36 /scripts/lib/kdoc/kdoc_files.py | |
parent | 00c092de6f28ebd32208aef83b02d61af2229b60 (diff) | |
download | linux-d66e1e90b16055d2f0ee76e5384e3f119c3c2773.tar.xz |
x86/mce/amd: Add default names for MCA banks and blocks
Ensure that sysfs init doesn't fail for new/unrecognized bank types or if
a bank has additional blocks available.
Most MCA banks have a single thresholding block, so the block takes the same
name as the bank.
Unified Memory Controllers (UMCs) are a special case where there are two
blocks and each has a unique name.
However, the microarchitecture allows for five blocks. Any new MCA bank types
with more than one block will be missing names for the extra blocks. The MCE
sysfs will fail to initialize in this case.
Fixes: 87a6d4091bd7 ("x86/mce/AMD: Update sysfs bank names for SMCA systems")
Signed-off-by: Yazen Ghannam <yazen.ghannam@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/20250624-wip-mca-updates-v4-3-236dd74f645f@amd.com
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions