From b70309350f8143bee2f0086c45ce1ecc4f4327f6 Mon Sep 17 00:00:00 2001 From: Maximilian Brune Date: Mon, 25 Aug 2025 16:25:47 +0200 Subject: [PATCH] arch/x86/acpi_bert_storage.c: Fix Error Section GUID compare MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit If the section guid is CPER_SEC_PROC_IA32X64_GUID we want the x86 processor specific section instead of the generic one. This was probably some kind copy error from the line above. Change-Id: I6a6a885bf8ab97cb5d256513cf8134078b707d3c Signed-off-by: Maximilian Brune Signed-off-by: Patrick Rudolph Reviewed-on: https://review.coreboot.org/c/coreboot/+/90476 Reviewed-by: Matt DeVillier Tested-by: build bot (Jenkins) Reviewed-by: Felix Held Reviewed-by: Jérémy Compostella --- src/arch/x86/acpi_bert_storage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arch/x86/acpi_bert_storage.c b/src/arch/x86/acpi_bert_storage.c index 2d5a055ec6..8b19403a5d 100644 --- a/src/arch/x86/acpi_bert_storage.c +++ b/src/arch/x86/acpi_bert_storage.c @@ -531,7 +531,7 @@ acpi_generic_error_status_t *bert_new_event(guid_t *guid) if (!guidcmp(guid, &CPER_SEC_PROC_GENERIC_GUID)) r = bert_append_genproc(status); - else if (!guidcmp(guid, &CPER_SEC_PROC_GENERIC_GUID)) + else if (!guidcmp(guid, &CPER_SEC_PROC_IA32X64_GUID)) r = bert_append_ia32x64(status); else if (!guidcmp(guid, &CPER_SEC_FW_ERR_REC_REF_GUID)) r = bert_append_fw_err(status);