mbox series

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

Message ID 20220225193342.215780-1-Smita.KoralahalliChannabasappa@amd.com (mailing list archive)
Headers show
Series x86/mce: Support extended MCA_ADDR address on SMCA systems | expand

Message

Smita Koralahalli Feb. 25, 2022, 7:33 p.m. UTC
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/20220211223442.254489-1-Smita.KoralahalliChannabasappa@amd.com

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(-)

Comments

Koralahalli Channabasappa, Smita March 11, 2022, 9 p.m. UTC | #1
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/20220211223442.254489-1-Smita.KoralahalliChannabasappa@amd.com
>
> 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(-)
>