[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <807002b1-ccb9-22c8-6563-ade7e44912ff@gmail.com>
Date: Thu, 19 Apr 2018 10:11:03 -0500
From: "Alex G." <mr.nuke.me@...il.com>
To: Borislav Petkov <bp@...en8.de>
Cc: linux-acpi@...r.kernel.org, linux-edac@...r.kernel.org,
rjw@...ysocki.net, lenb@...nel.org, tony.luck@...el.com,
tbaicar@...eaurora.org, will.deacon@....com, james.morse@....com,
shiju.jose@...wei.com, zjzhang@...eaurora.org,
gengdongjiu@...wei.com, linux-kernel@...r.kernel.org,
alex_gagniuc@...lteam.com, austin_bolen@...l.com,
shyam_iyer@...l.com, devel@...ica.org, mchehab@...nel.org,
robert.moore@...el.com, erik.schmauss@...el.com
Subject: Re: [RFC PATCH v2 4/4] acpi: apei: Warn when GHES marks correctable
errors as "fatal"
On 04/18/2018 12:54 PM, Borislav Petkov wrote:
> On Mon, Apr 16, 2018 at 04:59:03PM -0500, Alexandru Gagniuc wrote:
(snip)
>> +
>> + corrected_sev = max(corrected_sev, sec_sev);
>> + }
>> +
>> + if ((sev >= GHES_SEV_PANIC) && (corrected_sev < sev)) {
>> + pr_warn("FIRMWARE BUG: Firmware sent fatal error that we were able to correct");
>> + pr_warn("BROKEN FIRMWARE: Complain to your hardware vendor");
>
> No, I don't want any of that crap issuing stuff in dmesg and then people
> opening bugs and running around and trying to replace hardware.
>
> We either can handle the error and log a normal record somewhere or we
> cannot and explode.
There is value in this. From my observations, fw claims it will do
everything through FFS, yet fails to fully handle the situation. It's
rooted in FW's assumptions about OS behavior. Because the (old) versions
of windows, esxi, and rhel used during development crash, fw assumes
that _all_ OSes crash. The result in a surprising majority of cases is
that FFS doesn't properly handle recurring errors, and fw is, in fact,
broken.
> The complaining about the FW doesn't bring shit.
You are correct. It doesn't bring defecation. It brings a red flag that
helps people get closer to the root cause of problems.
That being said, I can just drop this patch.
Alex
Powered by blists - more mailing lists