Re: [PATCH RFC 1/2] firmware/efi: Process CXL Component Events

From: Ira Weiny
Date: Tue Oct 17 2023 - 22:43:44 EST


Ira Weiny wrote:
> Ira Weiny wrote:

[snip]

> >
> > diff --git a/drivers/firmware/efi/cper.c b/drivers/firmware/efi/cper.c
> > index 35c37f667781..af2c59f5e21d 100644
> > --- a/drivers/firmware/efi/cper.c
> > +++ b/drivers/firmware/efi/cper.c
> > @@ -607,6 +607,22 @@ cper_estatus_print_section(const char *pfx, struct acpi_hest_generic_data *gdata
> > cper_print_prot_err(newpfx, prot_err);
> > else
> > goto err_section_too_small;
> > + } else if (guid_equal(sec_type, &gen_media_event_guid) ||
> > + guid_equal(sec_type, &dram_event_guid) ||
> > + guid_equal(sec_type, &mem_mod_event_guid)) {
> > + struct cper_cxl_event_rec *rec = acpi_hest_get_payload(gdata);
> > +
>
> Smita,
>
> Dan and I were discussing the processing of these GUIDs vs the UUIDs in the
> trace prints offline.
>
> Here we could separate out the comparisons and use a token for the events
> rather than passing the guid through to be converted into a uuid...
>

Sorry I hit send too soon... Please see my other post.

Ira

[snip]