summaryrefslogtreecommitdiff
path: root/drivers/edac
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2023-02-21 08:04:51 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2023-02-21 08:04:51 -0800
commit0246725d7399d7d6acc8fd5a1a0a1ffce9a1eaa3 (patch)
tree6571a85737da30030d804e7eab4243d79ea91e43 /drivers/edac
parent89f5349e0673322857bd432fa23113af56673739 (diff)
parent8a01ec97dc066009dd89e43bfcf55644f2dd6d19 (diff)
downloadlinux-0246725d7399d7d6acc8fd5a1a0a1ffce9a1eaa3.tar.gz
Merge tag 'ras_core_for_v6.3_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull RAS updates from Borislav Petkov: - Add support for reporting more bits of the physical address on error, on newer AMD CPUs - Mask out bits which don't belong to the address of the error being reported * tag 'ras_core_for_v6.3_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/mce: Mask out non-address bits from machine check bank x86/mce: Add support for Extended Physical Address MCA changes x86/mce: Define a function to extract ErrorAddr from MCA_ADDR
Diffstat (limited to 'drivers/edac')
-rw-r--r--drivers/edac/skx_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/edac/skx_common.c b/drivers/edac/skx_common.c
index f0f8e98f6efb..806986f03177 100644
--- a/drivers/edac/skx_common.c
+++ b/drivers/edac/skx_common.c
@@ -657,7 +657,7 @@ int skx_mce_check_error(struct notifier_block *nb, unsigned long val,
memset(&res, 0, sizeof(res));
res.mce = mce;
- res.addr = mce->addr;
+ res.addr = mce->addr & MCI_ADDR_PHYSADDR;
/* Try driver decoder first */
if (!(driver_decode && driver_decode(&res))) {