Re: [PATCH v2 5/6] ACPI: APEI: add separate Memory Error Section 2 handlers
From: Breno Leitao
Date: Tue Nov 03 2026 - 08:43:25 EST
On Tue, Oct 20, 2026 at 10:17:20AM -0700, Jonathan Cameron wrote:
> > @@ -915,7 +939,8 @@ static void ghes_log_hwerr(int sev, guid_t *sec_type)
> > return;
> > }
> >
> > - if (guid_equal(sec_type, &CPER_SEC_PLATFORM_MEM)) {
> > + if (guid_equal(sec_type, &CPER_SEC_PLATFORM_MEM) ||
> > + guid_equal(sec_type, &CPER_SEC_PLATFORM_MEM2)) {
> > hwerr_log_error_type(HWERR_RECOV_MEMORY);
> > return;
> > }
Keep in mind that this fuction has an issue, that I am proposing a fix
in here:
https://lore.kernel.org/all/20261030-ghes-hwerr-sev-v1-1-145ceb996c77@xxxxxxxxxx/
This is no action for you, just a heads up in case you hit this issue.
--breno