mbox series

[v2,0/3] Simpify mce code somewhat

Message ID 20250210154707.114219-1-nik.borisov@suse.com (mailing list archive)
Headers show
Series Simpify mce code somewhat | expand

Message

Nikolay Borisov Feb. 10, 2025, 3:47 p.m. UTC
Here's v2 of the patchset simplifying the MCE proper code. Main changes are:

* Typos/grammar fixes (Yazen)
* Squashed the patch making mce_notify_irq static into the first patch (Yazen)
* Factored out the printing related code from mce_notify_irq() into mce_early_notifier() (Qiuxu)

Nikolay Borisov (3):
  x86/mce/inject: Remove call to mce_notify_irq()
  x86/mce: Move message printing from mce_notify_irq to
    mce_early_notifier()
  x86/mce: Make mce_notify_irq() depend on CONFIG_X86_MCELOG_LEGACY

 arch/x86/include/asm/mce.h       |  2 --
 arch/x86/kernel/cpu/mce/core.c   | 44 ++++++++++++++++----------------
 arch/x86/kernel/cpu/mce/inject.c |  1 -
 3 files changed, 22 insertions(+), 25 deletions(-)

--
2.43.0