[PATCH v3 0/3] Rework mce_setup()

From: Yazen Ghannam
Date: Tue Jul 30 2024 - 14:30:26 EST


Hi all,

This revision drops the topology export idea from v2. It seemed to add
more complexity than just doing a local search.

Thanks,
Yazen

Link:
https://lkml.kernel.org/r/20240624212008.663832-1-yazen.ghannam@xxxxxxx

Yazen Ghannam (3):
x86/mce: Rename mce_setup() to mce_prep_record()
x86/mce: Define mce_prep_record() helpers for common and per-CPU
fields
x86/mce: Use mce_prep_record() helpers for
apei_smca_report_x86_error()

arch/x86/include/asm/mce.h | 2 +-
arch/x86/kernel/cpu/mce/amd.c | 2 +-
arch/x86/kernel/cpu/mce/apei.c | 18 +++++++-------
arch/x86/kernel/cpu/mce/core.c | 38 ++++++++++++++++++++----------
arch/x86/kernel/cpu/mce/internal.h | 2 ++
5 files changed, 38 insertions(+), 24 deletions(-)


base-commit: 1cd27e88888d54de5fefbeb0b44c26194ffa83ce
--
2.34.1