[PATCH 0/2] x86/mce: Stop losing MCE record fields to pr_cont()

Breno Leitao posted 2 patches 2 days, 3 hours ago
arch/x86/kernel/cpu/mce/core.c | 46 ++++++++++++++++++++++++++++--------------
1 file changed, 31 insertions(+), 15 deletions(-)
[PATCH 0/2] x86/mce: Stop losing MCE record fields to pr_cont()
Posted by Breno Leitao 2 days, 3 hours ago
__print_mce() builds two of its four lines from pr_cont(). A printk from
another CPU breaks the line, and the orphaned tail loses the
"mce: [Hardware Error]: " prefix, requiring effort to parse things
clearly.  Fatal machine checks are exactly when that happens.

Patch 1 is a no-op %llx cleanup to make checkpatch happy. Patch 2 makes
each line one record.

Signed-off-by: Breno Leitao <leitao@debian.org>
---
Breno Leitao (2):
      x86/mce: Spell the long long conversions in __print_mce() as %llx
      x86/mce: Print each MCE record line in a single printk()

 arch/x86/kernel/cpu/mce/core.c | 46 ++++++++++++++++++++++++++++--------------
 1 file changed, 31 insertions(+), 15 deletions(-)
---
base-commit: b0fa123835c147e77b9a967de76dc899062bd405
change-id: 20260921-b4-mce-print-6178a29bcd8e

Best regards,
--  
Breno Leitao <leitao@debian.org>