* [PATCH 0/2] Correct AER severity for printing AER information
@ 2016-09-14 21:12 Tyler Baicar
0 siblings, 0 replies; 3+ messages in thread
From: Tyler Baicar @ 2016-09-14 21:12 UTC (permalink / raw)
To: rjw, lenb, bhelgaas, paul.gortmaker, sudipm.mukherjee, axboe,
izumi.taku, linux-acpi, linux-kernel, linux-pci
Cc: bp, Tyler Baicar
AER severity handling has two issues that cause the AER information to
be printed incorrectly. The first issue is that the function to calculate
the AER severity is called twice in the code path to print the AER
information. The second issue is that the original call to calculate the
AER severity expects the CPER severity but is recieving the GHES
severity.
V2: Fix minor typo in commit text.
V1: https://lkml.org/lkml/2016/9/12/1075
Tyler Baicar (2):
PCI/AER: Remove duplicate AER severity translation
acpi: apei: send correct severity to calculate AER severity
drivers/acpi/apei/ghes.c | 2 +-
drivers/pci/pcie/aer/aerdrv_errprint.c | 6 ++----
include/linux/aer.h | 2 +-
3 files changed, 4 insertions(+), 6 deletions(-)
--
Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologies, Inc.
Qualcomm Technologies, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 0/2] Correct AER severity for printing AER information
@ 2016-09-12 20:57 Tyler Baicar
2016-09-13 8:45 ` Borislav Petkov
0 siblings, 1 reply; 3+ messages in thread
From: Tyler Baicar @ 2016-09-12 20:57 UTC (permalink / raw)
To: rjw, lenb, bhelgaas, matt.fleming, paul.gortmaker, bp, zjzhang,
sudipm.mukherjee, axboe, izumi.taku, linux-acpi, linux-kernel,
linux-pci
Cc: Tyler Baicar
AER severity handling has two issues that cause the AER information to
be printed incorrectly. The first issue is that the function to calculate
the AER severity is called twice in the code path to print the AER
information. The second issue is that the original call to calculate the
AER severity expects the CPER severity but is recieving the GHES
severity.
Tyler Baicar (2):
PCI/AER: Remove duplicate AER severity translation
acpi: apei: send correct severity to calculate AER severity
drivers/acpi/apei/ghes.c | 2 +-
drivers/pci/pcie/aer/aerdrv_errprint.c | 6 ++----
include/linux/aer.h | 2 +-
3 files changed, 4 insertions(+), 6 deletions(-)
--
Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologies, Inc.
Qualcomm Technologies, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 0/2] Correct AER severity for printing AER information
2016-09-12 20:57 Tyler Baicar
@ 2016-09-13 8:45 ` Borislav Petkov
0 siblings, 0 replies; 3+ messages in thread
From: Borislav Petkov @ 2016-09-13 8:45 UTC (permalink / raw)
To: Tyler Baicar
Cc: rjw, lenb, bhelgaas, matt.fleming, paul.gortmaker, zjzhang,
sudipm.mukherjee, axboe, izumi.taku, linux-acpi, linux-kernel,
linux-pci
On Mon, Sep 12, 2016 at 02:57:23PM -0600, Tyler Baicar wrote:
> AER severity handling has two issues that cause the AER information to
> be printed incorrectly. The first issue is that the function to calculate
> the AER severity is called twice in the code path to print the AER
> information. The second issue is that the original call to calculate the
> AER severity expects the CPER severity but is recieving the GHES
> severity.
>
> Tyler Baicar (2):
> PCI/AER: Remove duplicate AER severity translation
> acpi: apei: send correct severity to calculate AER severity
>
> drivers/acpi/apei/ghes.c | 2 +-
> drivers/pci/pcie/aer/aerdrv_errprint.c | 6 ++----
> include/linux/aer.h | 2 +-
> 3 files changed, 4 insertions(+), 6 deletions(-)
For both:
Reviewed-by: Borislav Petkov <bp@suse.de>
--
Regards/Gruss,
Boris.
ECO tip #101: Trim your mails when you reply.
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
--
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-09-14 21:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-14 21:12 [PATCH 0/2] Correct AER severity for printing AER information Tyler Baicar
-- strict thread matches above, loose matches on Subject: below --
2016-09-12 20:57 Tyler Baicar
2016-09-13 8:45 ` Borislav Petkov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).