aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorYazen Ghannam <[email protected]>2023-06-13 09:11:40 -0500
committerBorislav Petkov (AMD) <[email protected]>2023-10-16 15:04:53 +0200
commit495a91d0998367f4f079593f491bdfe8ef06838e (patch)
tree0bd02fe6c1ea9d679361cca3e9642b711b016161 /scripts/gdb/linux/utils.py
parent58720809f52779dc0f08e53e54b014209d13eebb (diff)
x86/MCE/AMD: Split amd_mce_is_memory_error()
Define helper functions for legacy and SMCA systems in order to reuse individual checks in later changes. Describe what each function is checking for, and correct the XEC bitmask for SMCA. No functional change intended. [ bp: Use "else in amd_mce_is_memory_error() to make the conditional balanced, for readability. ] Signed-off-by: Yazen Ghannam <[email protected]> Signed-off-by: Borislav Petkov (AMD) <[email protected]> Reviewed-by: Shuai Xue <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions