diff options
author | Yazen Ghannam <[email protected]> | 2017-01-23 19:35:08 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2017-01-24 09:14:53 +0100 |
commit | 0b737a9c2af85cc8295f9308d9250f9111bbf94d (patch) | |
tree | 659c798b37b70f86bcda780d77983806912b7173 /scripts/gdb/linux/proc.py | |
parent | 9b052ea4ced0fa1ad30a2eafe86984a16297e6f1 (diff) |
x86/ras/amd: Make sysfs names of banks more user-friendly
Currently, we append the MCA_IPID[InstanceId] to the bank name to create
the sysfs filename. The InstanceId field uniquely identifies a bank
instance but it doesn't look very nice for most banks.
Replace the InstanceId with a simpler, ascending (0, 1, ..) value.
Only use this in the sysfs name when there is more than 1 instance.
Otherwise, just use the bank's name as the sysfs name.
Signed-off-by: Yazen Ghannam <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Tony Luck <[email protected]>
Cc: linux-edac <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions