[RFC PATCH 0/3] ACPI: extlog: Log and trace similarly to GHES

From: Fabio M. De Francesco
Date: Tue May 07 2024 - 15:07:55 EST


When Firmware First is enabled, BIOS handles errors first and then it
makes them available to the kernel via the Common Platform Error Record
(CPER) sections (UEFI 2.10 Appendix N). Linux parses the CPER sections
via two similar paths, ELOG and GHES.

Currently, ELOG and GHES show some inconsistencies in how they print to
the kernel log as well as in how they report to userspace via trace
events.

This short series wants to make these two competing path act similarly.

This is an RFC mainly because of patch 3/3 which enables kernel logging
even in precence of userspace monitoring events. I'm not sure if this
behavior is wanted.

Fabio M. De Francesco (3):
ACPI: extlog: Trace CPER Non-standard Section Body
ACPI: extlog: Trace PCI Express Error Section
ACPI: extlog: Make print_extlog_rcd() log unconditionally

drivers/acpi/acpi_extlog.c | 44 +++++++++++++++++++++++++++++++++-----
drivers/ras/debugfs.c | 6 ------
include/linux/ras.h | 2 --
3 files changed, 39 insertions(+), 13 deletions(-)

--
2.45.0