Re: [PATCH v6 10/10] RAS: add firmware-first CPER provider

From: Julian Braha

Date: Wed Jun 17 2026 - 13:40:29 EST


Hi again Ahmed,

On 6/17/26 14:54, Ahmed Tiba wrote:
> +config RAS_CPER_ESOURCE
> + bool "Firmware-first CPER error source block provider"
> + select GHES_CPER_HELPERS
> + help
> + Enable support for firmware-first Common Platform Error Record
> + (CPER) error source block providers. The current in-tree user is
> + described by the arm,ras-cper DeviceTree binding. The driver
> + reuses the existing GHES CPER helpers so the error processing
> + matches the ACPI code paths, but it can be built even when ACPI is
> + disabled.

Yep, sure enough, this patch causes a build error when you enable
RAS_CPER_ESOURCE without enabling ACPI:

drivers/firmware/efi/cper-x86.c: In function ‘cper_print_proc_ia’:
drivers/firmware/efi/cper-x86.c:352:21: error: implicit declaration of
function ‘arch_apei_report_x86_error’ [-Wimplicit-function-declaration]
352 | arch_apei_report_x86_error(ctx_info,
proc->lapic_id)) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~

- Julian Braha