[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220211223442.254489-1-Smita.KoralahalliChannabasappa@amd.com>
Date: Fri, 11 Feb 2022 16:34:38 -0600
From: Smita Koralahalli <Smita.KoralahalliChannabasappa@....com>
To: <x86@...nel.org>, <linux-edac@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
CC: Tony Luck <tony.luck@...el.com>,
Dave Hansen <dave.hansen@...ux.intel.com>,
"H . Peter Anvin" <hpa@...or.com>,
James Morse <james.morse@....com>,
Robert Richter <rric@...nel.org>,
Yazen Ghannam <yazen.ghannam@....com>,
Smita Koralahalli <Smita.KoralahalliChannabasappa@....com>
Subject: [PATCH v3 0/4] x86/mce, EDAC/mce_amd: Support extended MCA_ADDR address on SMCA systems
This series of patches adds support for extended physical address on newer
AMD processors such as AMD 'Milan'. It also, suggests to cache
MCA_CONFIG[McaX] similar to MCA_CONFIG[McaLsbInStatusSupported] to avoid
reading MCA_CONFIG register each time.
The first patch defines a separate helper function to extract
MCA_ADDR[ErrorAddr].
The second patch adds support for extended ErrorAddr bits in MCA_ADDR.
Third patch, caches MCA_CONFIG[McaX] similar to
MCA_CONFIG[McaLsbInStatusSupported] in the existing mce_bank struct.
Last patch, fixes unnecessary padding in mce_bank struct.
Link:
https://lkml.kernel.org/r/20210625013553.231528-1-Smita.KoralahalliChannabasappa@amd.com
Smita Koralahalli (4):
x86/mce: Define function to extract ErrorAddr from MCA_ADDR
x86/mce: Add support for Extended Physical Address MCA changes
x86/mce, EDAC/mce_amd: Cache MCA_CONFIG[McaX] in struct mce_bank
x86/mce: Avoid unnecessary padding in struct mce_bank
arch/x86/include/asm/mce.h | 14 +++----
arch/x86/kernel/cpu/mce/amd.c | 59 +++++++++++++++++++++++-------
arch/x86/kernel/cpu/mce/core.c | 20 +++-------
arch/x86/kernel/cpu/mce/internal.h | 26 +++++++++++++
arch/x86/kernel/cpu/mce/severity.c | 6 +--
drivers/edac/mce_amd.c | 5 +--
6 files changed, 86 insertions(+), 44 deletions(-)
--
2.17.1
Powered by blists - more mailing lists