From: Borislav Petkov <bp@alien8.de>
To: Betty Dall <betty.dall@hp.com>
Cc: Ethan Zhao <ethan.kernel@gmail.com>,
rui wang <ruiv.wang@gmail.com>, Lance Ortiz <lance.ortiz@hp.com>,
Bjorn Helgaas <bhelgaas@google.com>,
lance_ortiz@hotmail.com, jiang.liu@intel.com,
tony.luck@intel.com, rostedt@goodmis.org, m.chehab@samsung.com,
linux-acpi@vger.kernel.org, linux-pci <linux-pci@vger.kernel.org>,
LKML <linux-kernel@vger.kernel.org>,
gong.chen@linux.intel.com
Subject: Re: [BUG] Re: [PATCH v10 1/3] aerdrv: Trace Event for AER
Date: Thu, 5 Dec 2013 22:12:55 +0100 [thread overview]
Message-ID: <20131205211255.GG14407@pd.tnic> (raw)
In-Reply-To: <1386267670.18256.8.camel@ejdallLaptop>
On Thu, Dec 05, 2013 at 11:21:10AM -0700, Betty Dall wrote:
> The definition of the GHES_SEV* matches up with the error severity
> definition of the CPER records as defined in the UEFI spec section
> N.2.1:
> "Indicates the severity of the error condition. The severity of
> the error record corresponds to the most severe error
> section.
> 0 - Recoverable (also called non-fatal uncorrected)
> 1 - Fatal
> 2 - Corrected
> 3 - Informational
> All other values are reserved.
> Note that severity of "Informational" indicates that the record
> could be safely ignored by error handling software."
Actually, we can go even one radical step further and drop
ghes_severity() completely because GHES severity in the ACPI spec 5.0 is
defined almost exactly the same:
"18.3.2.6.1 Generic Error Data
...
Identifies the error severity of the reported error:
0 – Recoverable
1 – Fatal
2 – Corrected
3 – None
Note: This is the error severity of the entire event. Each Generic
Error Data Entry also includes its own Error Severity field."
I don't know which version of the spec dictated
enum {
GHES_SEV_NO = 0x0,
GHES_SEV_CORRECTED = 0x1,
GHES_SEV_RECOVERABLE = 0x2,
GHES_SEV_PANIC = 0x3,
};
though and whether we're going to have to differentiate between the old
and GHES numerical severity levels. Which, if we have to, would be very
nasty...
--
Regards/Gruss,
Boris.
Sent from a fat crate under my desk. Formatting is fine.
--
prev parent reply other threads:[~2013-12-05 21:13 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-16 23:51 [PATCH v10 1/3] aerdrv: Trace Event for AER Lance Ortiz
2013-01-16 23:51 ` [PATCH v10 2/3] aerdrv: Enhanced AER logging Lance Ortiz
2013-01-16 23:51 ` [PATCH v10 3/3] aerdrv: Cleanup log output for AER Lance Ortiz
2013-01-17 17:21 ` Luck, Tony
2013-12-02 5:05 ` [PATCH v10 1/3] aerdrv: Trace Event " rui wang
2013-12-04 20:38 ` Borislav Petkov
2013-12-06 9:06 ` rui wang
2013-12-06 15:11 ` Ethan Zhao
2013-12-07 17:45 ` Borislav Petkov
2013-12-04 3:10 ` [BUG] " rui wang
2013-12-04 15:28 ` Ethan Zhao
2013-12-05 18:21 ` Betty Dall
2013-12-05 21:12 ` Borislav Petkov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20131205211255.GG14407@pd.tnic \
--to=bp@alien8.de \
--cc=betty.dall@hp.com \
--cc=bhelgaas@google.com \
--cc=ethan.kernel@gmail.com \
--cc=gong.chen@linux.intel.com \
--cc=jiang.liu@intel.com \
--cc=lance.ortiz@hp.com \
--cc=lance_ortiz@hotmail.com \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=m.chehab@samsung.com \
--cc=rostedt@goodmis.org \
--cc=ruiv.wang@gmail.com \
--cc=tony.luck@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox