2022-02-26 02:27:22

by Smita Koralahalli

[permalink] [raw]
Subject: [PATCH v4 0/3] x86/mce: 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'.

The first patch provides a fix to avoid unnecessary padding in mce_bank
struct.

The second patch defines a separate helper function to extract
MCA_ADDR[ErrorAddr].

Finally, the last patch adds support for extended ErrorAddr bits in
MCA_ADDR.

Link:
https://lkml.kernel.org/r/[email protected]

Smita Koralahalli (3):
x86/mce: Avoid unnecessary padding in struct mce_bank
x86/mce: Define function to extract ErrorAddr from MCA_ADDR
x86/mce: Add support for Extended Physical Address MCA changes

arch/x86/include/asm/mce.h | 4 ++++
arch/x86/kernel/cpu/mce/amd.c | 35 ++++++++++++++++++++++--------
arch/x86/kernel/cpu/mce/core.c | 20 +++++------------
arch/x86/kernel/cpu/mce/internal.h | 16 ++++++++++++++
4 files changed, 52 insertions(+), 23 deletions(-)

--
2.17.1


Subject: Re: [PATCH v4 0/3] x86/mce: Support extended MCA_ADDR address on SMCA systems

Hi all,

Do you have any comments that needs to be addressed on these set of patches?

Thanks,
Smita

On 2/25/22 1:33 PM, Smita Koralahalli wrote:

> This series of patches adds support for extended physical address on newer
> AMD processors such as AMD 'Milan'.
>
> The first patch provides a fix to avoid unnecessary padding in mce_bank
> struct.
>
> The second patch defines a separate helper function to extract
> MCA_ADDR[ErrorAddr].
>
> Finally, the last patch adds support for extended ErrorAddr bits in
> MCA_ADDR.
>
> Link:
> https://lkml.kernel.org/r/[email protected]
>
> Smita Koralahalli (3):
> x86/mce: Avoid unnecessary padding in struct mce_bank
> x86/mce: Define function to extract ErrorAddr from MCA_ADDR
> x86/mce: Add support for Extended Physical Address MCA changes
>
> arch/x86/include/asm/mce.h | 4 ++++
> arch/x86/kernel/cpu/mce/amd.c | 35 ++++++++++++++++++++++--------
> arch/x86/kernel/cpu/mce/core.c | 20 +++++------------
> arch/x86/kernel/cpu/mce/internal.h | 16 ++++++++++++++
> 4 files changed, 52 insertions(+), 23 deletions(-)
>