Re: [PATCH V2 0/2] Correct AER severity for printing AER information

From: Bjorn Helgaas
Date: Tue Sep 20 2016 - 15:41:21 EST


On Wed, Sep 14, 2016 at 03:14:44PM -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.
>
> 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(-)

I applied both to pci/aer for v4.9, thanks!

Rafael, the second one is strictly ACPI, and I'd be happy to let you
deal with it if you prefer.

Bjorn