[PATCH 0/3] Properly check for usable addresses on AMD
From: Yazen Ghannam
Date: Tue Jun 13 2023 - 10:13:07 EST
Hi all,
This set adds proper checks for usable addresses on AMD systems.
Patch 1 creates helper functions for memory error checks that will be
used in the second patch.
Patch 2 adds the proper usable address checks.
Patch 3 restructures the current usable address function to call out to
vendor-specific helpers.
I don't think these need 'stable' backports, since there isn't an urgent
issue to be fixed. But I can include 'stable' if there's interest.
Thanks,
Yazen
Yazen Ghannam (3):
x86/MCE/AMD: Split amd_mce_is_memory_error()
x86/mce: Define amd_mce_usable_address()
x86/mce: Fixup mce_usable_address()
arch/x86/include/asm/mce.h | 2 +-
arch/x86/kernel/cpu/mce/amd.c | 68 +++++++++++++++++++++++++++---
arch/x86/kernel/cpu/mce/core.c | 32 +++++---------
arch/x86/kernel/cpu/mce/intel.c | 20 +++++++++
arch/x86/kernel/cpu/mce/internal.h | 4 ++
5 files changed, 99 insertions(+), 27 deletions(-)
--
2.34.1