[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180227170423.GK26382@pd.tnic>
Date: Tue, 27 Feb 2018 18:04:23 +0100
From: Borislav Petkov <bp@...e.de>
To: "Ghannam, Yazen" <Yazen.Ghannam@....com>
Cc: "linux-efi@...r.kernel.org" <linux-efi@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"ard.biesheuvel@...aro.org" <ard.biesheuvel@...aro.org>,
"x86@...nel.org" <x86@...nel.org>
Subject: Re: [PATCH v2 3/8] efi: Decode IA32/X64 Processor Error Info
Structure
On Tue, Feb 27, 2018 at 03:25:06PM +0000, Ghannam, Yazen wrote:
> This is the same as the other CPER code.
Dude, turn on brain!
So if it is in the other CPER code, we should copy it, no matter how
dumb it is?!?
> Also, the spec allows platform-defined GUIDs. So we should always print this
> even if the GUID is not defined by the spec.
We need to have a way to map the GUID to a hw part. Dumb numbers mean shit
because the error record is worthless.
> The Check Information will be decoded further in another patch.
>
> I don't think there's much else to decode for the ID fields.
Again, those numbers can't help decoding the error, no need to dump
them. Or we find a way to make sense out of that info.
> Other tables may have the same fields but the offsets are usually different.
> So it may be more trouble than it's worth trying to unify the different tables.
If the structs are the same, you can use generic functions for dumping -
the offsets are meaningless then.
--
Regards/Gruss,
Boris.
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
--
Powered by blists - more mailing lists