Re: [PATCH v8 18/26] ACPI / APEI: Make GHES estatus header validation more user friendly

2019-02-01 Thread Borislav Petkov
On Tue, Jan 29, 2019 at 06:48:54PM +, James Morse wrote: > ghes_read_estatus() checks various lengths in the top-level header to > ensure the CPER records to be read aren't obviously corrupt. > > Take the opportunity to make this more user-friendly, printing a > (ratelimited) message about

[PATCH v8 18/26] ACPI / APEI: Make GHES estatus header validation more user friendly

2019-01-29 Thread James Morse
ghes_read_estatus() checks various lengths in the top-level header to ensure the CPER records to be read aren't obviously corrupt. Take the opportunity to make this more user-friendly, printing a (ratelimited) message about the nature of the header format error. Suggested-by: Borislav Petkov