ssage-
From: Tyler Baicar
Sent: Friday, December 17, 2021 8:33 AM
To: Ishii, Shuuichirou/石井 周一郎 ; 'Tyler Baicar'
; patc...@amperecomputing.com;
abdulha...@os.amperecomputing.com; dar...@os.amperecomputing.com;
catalin.mari...@arm.com; w...@kernel.org; m...@kernel.org;
jame
Hi Shuuichirou,
Thank you for your feedback!
On 12/9/2021 3:10 AM, ishii.shuuic...@fujitsu.com wrote:
Hi, Tyler.
We would like to make a few comments.
-Original Message-
From: Tyler Baicar
Sent: Thursday, November 25, 2021 2:07 AM
To: patc...@amperecomputing.com; abdulha
Hi Mark,
Thank you for the initial feedback!
On 11/24/2021 1:51 PM, Mark Rutland wrote:
Hi,
I haven't looked at this in great detail, but I spotted a few issues
from an initial scan.
On Wed, Nov 24, 2021 at 12:07:07PM -0500, Tyler Baicar wrote:
Add support for parsing the ARM Error S
rc Zyngier wrote:
On Wed, 24 Nov 2021 17:07:07 +,
diff --git a/MAINTAINERS b/MAINTAINERS
index 5250298d2817..aa0483726606 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -382,6 +382,7 @@ ACPI FOR ARM64 (ACPI/arm64)
M:Lorenzo Pieralisi
M:Hanjun Guo
M:Sudeep Holla
+R: Tyler B
On Fri, Jan 11, 2019 at 7:03 AM Borislav Petkov wrote:
> On Thu, Jan 10, 2019 at 04:01:27PM -0500, Tyler Baicar wrote:
> > On Thu, Jan 10, 2019 at 1:23 PM James Morse wrote:
> > > >>
> > > >> +if (is_hest_type_generic_v2(ghes) &
On Fri, Jan 11, 2019 at 1:09 PM James Morse wrote:
> On 11/01/2019 15:32, Tyler Baicar wrote:
> > On Fri, Jan 11, 2019 at 7:03 AM Borislav Petkov wrote:
> >> On Thu, Jan 10, 2019 at 04:01:27PM -0500, Tyler Baicar wrote:
> >>> On Thu, Jan 10, 2019
On Thu, Jan 10, 2019 at 1:23 PM James Morse wrote:
> >>
> >> +if (is_hest_type_generic_v2(ghes) && ghes_ack_error(ghes->generic_v2))
> >
> > Since ghes_ack_error() is always prepended with this check, you could
> > push it down into the function:
> >
> > ghes_ack_error(ghes)
> > ...
> >
> >
On 5/16/2018 7:05 AM, Borislav Petkov wrote:
On Tue, May 08, 2018 at 09:45:01AM +0100, James Morse wrote:
Alternatively, I can put the fixmap-page and spinlock in some 'struct
ghes_notification' that only the NMI-like struct-ghes need. This is just moving
the indirection up a level, but it does
Hi James,
I tested this and verified that the NULL pointer issue that I reported on the
initial version is fixed.
I don't currently have a way to test the SDEI parts of this, but for all other
patches:
Tested-by: Tyler Baicar
Thanks!
Tyler
On 4/27/2018 11:34 AM, James Morse wrote:
Hey James,
On 2/15/2018 1:56 PM, James Morse wrote:
Arm64 has multiple NMI-like notifications, but GHES only has one
in_nmi() path. The interactions between these multiple NMI-like
notifications is, unclear.
Split this single path up by moving the fixmap idx and lock into
the struct ghes. Each
message of an unsupported FSC would be printed and nothing else
would happen. With this patch, the code gets routed to the APEI
handling of SEAs in the host kernel to report the SEA information.
Signed-off-by: Tyler Baicar
Acked-by: Catalin Marinas
Acked-by: Marc Zyngier
Acked-by: Christoffer Dall
section N.2.4.4.
Signed-off-by: Tyler Baicar
Acked-by: Steven Rostedt
Reviewed-by: Xie XiuQi
---
drivers/acpi/apei/ghes.c| 6 +-
drivers/firmware/efi/cper.c | 1 +
drivers/ras/ras.c | 6 ++
include/linux/ras.h | 3 +++
include/ras/ras_event.h | 45
. The OS
should panic when a hardware error record is received with this
severity.
Call panic() after CPER data in error status block is printed if
severity is fatal, before each error section is handled.
Signed-off-by: Jonathan (Zhixiong) Zhang
Signed-off-by: Tyler Baicar
Reviewed-by: James Mors
then be decoded using vendor
specific tools.
Signed-off-by: Tyler Baicar
CC: Jonathan (Zhixiong) Zhang
Reviewed-by: James Morse
---
drivers/firmware/efi/cper.c | 11 +--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/drivers/firmware/efi/cper.c b/drivers/firmware/efi/c
rated.
Generate a trace event which contains the raw error data for
non-standard section type error records.
Signed-off-by: Tyler Baicar
CC: Jonathan (Zhixiong) Zhang
Tested-by: Shiju Jose
---
drivers/acpi/apei/ghes.c | 27 +++
drivers/ras/ras.c | 10 +-
in
eliminating the race condition.
Add support for parsing of GHESv2 sub-tables as well.
Signed-off-by: Tyler Baicar
CC: Jonathan (Zhixiong) Zhang
Reviewed-by: James Morse
---
drivers/acpi/apei/ghes.c | 59 +---
drivers/acpi/apei/hest.c | 7 --
include/acpi
The ACPI 6.1 spec adds a new revision of the generic error data
entry structure. Add support to handle the new structure as well
as properly verify and iterate through the generic data entries.
Signed-off-by: Tyler Baicar
CC: Jonathan (Zhixiong) Zhang
---
drivers/acpi/apei/ghes.c| 11
The ACPI 6.1 spec added a timestamp to the generic error data
entry structure. Print the timestamp out when printing out the
error information.
Signed-off-by: Tyler Baicar
CC: Jonathan (Zhixiong) Zhang
---
drivers/firmware/efi/cper.c | 26 ++
1 file changed, 26
Add support for ARM Common Platform Error Record (CPER).
UEFI 2.6 specification adds support for ARM specific
processor error information to be reported as part of the
CPER records. This provides more detail on for processor error logs.
Signed-off-by: Tyler Baicar
CC: Jonathan (Zhixiong) Zhang
_t to map with in
the same way as ghes_ioremap_pfn_irq().
Signed-off-by: Tyler Baicar
CC: Jonathan (Zhixiong) Zhang
Reviewed-by: James Morse
Acked-by: Catalin Marinas
---
arch/arm64/Kconfig| 2 ++
arch/arm64/mm/fault.c | 17
drivers/acpi/apei/Kconfig
specific SEA faults so that the
new SEA handler is used.
Signed-off-by: Tyler Baicar
CC: Jonathan (Zhixiong) Zhang
Reviewed-by: James Morse
Acked-by: Catalin Marinas
---
arch/arm64/include/asm/esr.h | 1 +
arch/arm64/mm/fault.c| 45 ++--
2 files
kml.org/lkml/2016/2/5/544
Jonathan (Zhixiong) Zhang (1):
acpi: apei: panic OS with fatal error status block
Tyler Baicar (10):
acpi: apei: read ack upon ghes record consumption
ras: acpi/apei: cper: add support for generic data v3 structure
cper: add timestamp print to CPER status printing
rated.
Generate a trace event which contains the raw error data for
non-standard section type error records.
Signed-off-by: Tyler Baicar
CC: Jonathan (Zhixiong) Zhang
Tested-by: Shiju Jose
---
drivers/acpi/apei/ghes.c | 27 +++
drivers/ras/ras.c | 9 +
in
message of an unsupported FSC would be printed and nothing else
would happen. With this patch, the code gets routed to the APEI
handling of SEAs in the host kernel to report the SEA information.
Signed-off-by: Tyler Baicar
Acked-by: Catalin Marinas
Acked-by: Marc Zyngier
Acked-by: Christoffer Dall
section N.2.4.4.
Signed-off-by: Tyler Baicar
Acked-by: Steven Rostedt
Reviewed-by: Xie XiuQi
---
drivers/acpi/apei/ghes.c| 6 +-
drivers/firmware/efi/cper.c | 1 +
drivers/ras/ras.c | 6 ++
include/linux/ras.h | 3 +++
include/ras/ras_event.h | 45
_t to map with in
the same way as ghes_ioremap_pfn_irq().
Signed-off-by: Tyler Baicar
CC: Jonathan (Zhixiong) Zhang
Reviewed-by: James Morse
Acked-by: Catalin Marinas
---
arch/arm64/Kconfig| 2 ++
arch/arm64/mm/fault.c | 17
drivers/acpi/apei/Kconfig
. The OS
should panic when a hardware error record is received with this
severity.
Call panic() after CPER data in error status block is printed if
severity is fatal, before each error section is handled.
Signed-off-by: Jonathan (Zhixiong) Zhang
Signed-off-by: Tyler Baicar
Reviewed-by: James Mors
0
[ 140.739226] {1}[Hardware Error]: 0050: 0101 0001
0000
...
The raw data from the error can then be decoded using vendor
specific tools.
Signed-off-by: Tyler Baicar
CC: Jonathan (Zhixiong) Zhang
Reviewed-by: James
specific SEA faults so that the
new SEA handler is used.
Signed-off-by: Tyler Baicar
CC: Jonathan (Zhixiong) Zhang
Reviewed-by: James Morse
Acked-by: Catalin Marinas
---
arch/arm64/include/asm/esr.h | 1 +
arch/arm64/mm/fault.c| 45 ++--
2 files
eliminating the race condition.
Add support for parsing of GHESv2 sub-tables as well.
Signed-off-by: Tyler Baicar
CC: Jonathan (Zhixiong) Zhang
Reviewed-by: James Morse
---
drivers/acpi/apei/ghes.c | 59 +---
drivers/acpi/apei/hest.c | 7 --
include/acpi
The ACPI 6.1 spec adds a new revision of the generic error data
entry structure. Add support to handle the new structure as well
as properly verify and iterate through the generic data entries.
Signed-off-by: Tyler Baicar
CC: Jonathan (Zhixiong) Zhang
---
drivers/acpi/apei/ghes.c| 11
The ACPI 6.1 spec added a timestamp to the generic error data
entry structure. Print the timestamp out when printing out the
error information.
Signed-off-by: Tyler Baicar
CC: Jonathan (Zhixiong) Zhang
---
drivers/firmware/efi/cper.c | 26 ++
1 file changed, 26
Add support for ARM Common Platform Error Record (CPER).
UEFI 2.6 specification adds support for ARM specific
processor error information to be reported as part of the
CPER records. This provides more detail on for processor error logs.
Signed-off-by: Tyler Baicar
CC: Jonathan (Zhixiong) Zhang
tatus block patch.
Add processing of unrecognized CPER error section patches with updates
from previous comments. Original patches:
https://lkml.org/lkml/2015/9/8/646
V1: https://lkml.org/lkml/2016/2/5/544
Jonathan (Zhixiong) Zhang (1):
acpi: apei: panic OS with fatal error status block
Ty
message of an unsupported FSC would be printed and nothing else
would happen. With this patch, the code gets routed to the APEI
handling of SEAs in the host kernel to report the SEA information.
Signed-off-by: Tyler Baicar
Acked-by: Catalin Marinas
Acked-by: Marc Zyngier
Acked-by: Christoffer Dall
_t to map with in
the same way as ghes_ioremap_pfn_irq().
Signed-off-by: Tyler Baicar
CC: Jonathan (Zhixiong) Zhang
Reviewed-by: James Morse
Acked-by: Catalin Marinas
---
arch/arm64/Kconfig| 2 ++
arch/arm64/mm/fault.c | 13 +
drivers/acpi/apei/Kconfig | 15 ++
dr
. And thus user is not able to know
happening of such hardware error, including error record of
non-standard section.
This commit generates a trace event which contains raw error data
for unrecognized CPER section.
Signed-off-by: Tyler Baicar
CC: Jonathan (Zhixiong) Zhang
Tested-by: Shiju
section N.2.4.4.
Signed-off-by: Tyler Baicar
Acked-by: Steven Rostedt
Reviewed-by: Xie XiuQi
---
drivers/acpi/apei/ghes.c| 8 +++-
drivers/firmware/efi/cper.c | 1 +
drivers/ras/ras.c | 1 +
include/ras/ras_event.h | 45 +
4 files
error can then be decoded using vendor
specific tools.
Signed-off-by: Tyler Baicar
CC: Jonathan (Zhixiong) Zhang
Reviewed-by: James Morse
---
drivers/firmware/efi/cper.c | 12 ++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/drivers/firmware/efi/cper.c b/drivers/firmwar
. The OS
should panic when a hardware error record is received with this
severity.
Call panic() after CPER data in error status block is printed if
severity is fatal, before each error section is handled.
Signed-off-by: Jonathan (Zhixiong) Zhang
Signed-off-by: Tyler Baicar
Reviewed-by: James Mors
The ACPI 6.1 spec added a timestamp to the HEST generic data
structure. Print the timestamp out when printing out the error
status information.
Signed-off-by: Tyler Baicar
CC: Jonathan (Zhixiong) Zhang
Reviewed-by: James Morse
Reviewed-by: Ard Biesheuvel
---
drivers/firmware/efi/cper.c | 28
specific SEA faults so that the
new SEA handler is used.
Signed-off-by: Tyler Baicar
CC: Jonathan (Zhixiong) Zhang
Reviewed-by: James Morse
Acked-by: Catalin Marinas
---
arch/arm64/include/asm/esr.h | 1 +
arch/arm64/mm/fault.c| 45 ++--
2 files
The ACPI 6.1 spec adds a new version of the generic data structure.
Add support to handle the new structure as well as properly verify
and iterate through the generic data entries.
Signed-off-by: Tyler Baicar
CC: Jonathan (Zhixiong) Zhang
Reviewed-by: James Morse
Reviewed-by: Ard Biesheuvel
Add support for ARM Common Platform Error Record (CPER).
UEFI 2.6 specification adds support for ARM specific
processor error information to be reported as part of the
CPER records. This provides more detail on for processor error logs.
Signed-off-by: Tyler Baicar
CC: Jonathan (Zhixiong) Zhang
eliminating the race condition.
Add support for parsing of GHESv2 sub-tables as well.
Signed-off-by: Tyler Baicar
CC: Jonathan (Zhixiong) Zhang
Reviewed-by: James Morse
---
drivers/acpi/apei/ghes.c | 55 +---
drivers/acpi/apei/hest.c | 7 --
include/acpi
Original patches:
https://lkml.org/lkml/2015/9/8/646
V1: https://lkml.org/lkml/2016/2/5/544
Jonathan (Zhixiong) Zhang (1):
acpi: apei: panic OS with fatal error status block
Tyler Baicar (10):
acpi: apei: read ack upon ghes record consumption
ras: acpi/apei: cper: add support for generic
de/acpi/actbl1.h.
Add panic OS with fatal error status block patch.
Add processing of unrecognized CPER error section patches with updates
from previous comments. Original patches:
https://lkml.org/lkml/2015/9/8/646
V1: https://lkml.org/lkml/2016/2/5/544
Jonathan (Zhixiong) Zhang (1):
error can then be decoded using vendor
specific tools.
Signed-off-by: Tyler Baicar
CC: Jonathan (Zhixiong) Zhang
Reviewed-by: James Morse
---
drivers/firmware/efi/cper.c | 12 ++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/drivers/firmware/efi/cper.c b/drivers/firmwar
Add support for ARM Common Platform Error Record (CPER).
UEFI 2.6 specification adds support for ARM specific
processor error information to be reported as part of the
CPER records. This provides more detail on for processor error logs.
Signed-off-by: Tyler Baicar
CC: Jonathan (Zhixiong) Zhang
_t to map with in
the same way as ghes_ioremap_pfn_irq().
Signed-off-by: Tyler Baicar
CC: Jonathan (Zhixiong) Zhang
Reviewed-by: James Morse
Acked-by: Catalin Marinas
---
arch/arm64/Kconfig| 2 ++
arch/arm64/mm/fault.c | 13 +
drivers/acpi/apei/Kconfig | 15 ++
dr
section N.2.4.4.
Signed-off-by: Tyler Baicar
Acked-by: Steven Rostedt
Reviewed-by: Xie XiuQi
---
drivers/acpi/apei/ghes.c| 8 +++-
drivers/firmware/efi/cper.c | 1 +
drivers/ras/ras.c | 1 +
include/ras/ras_event.h | 45 +
4 files
. And thus user is not able to know
happening of such hardware error, including error record of
non-standard section.
This commit generates a trace event which contains raw error data
for unrecognized CPER section.
Signed-off-by: Tyler Baicar
CC: Jonathan (Zhixiong) Zhang
Tested-by: Shiju
message of an unsupported FSC would be printed and nothing else
would happen. With this patch, the code gets routed to the APEI
handling of SEAs in the host kernel to report the SEA information.
Signed-off-by: Tyler Baicar
Acked-by: Catalin Marinas
Acked-by: Marc Zyngier
---
arch/arm/include/asm
Currently when a RAS error is reported it is not timestamped.
The ACPI 6.1 spec adds the timestamp field to the generic error
data entry v3 structure. The timestamp of when the firmware
generated the error is now being reported.
Signed-off-by: Tyler Baicar
CC: Jonathan (Zhixiong) Zhang
Reviewed
specific SEA faults so that the
new SEA handler is used.
Signed-off-by: Tyler Baicar
CC: Jonathan (Zhixiong) Zhang
Reviewed-by: James Morse
Acked-by: Catalin Marinas
---
arch/arm64/include/asm/esr.h | 1 +
arch/arm64/mm/fault.c| 43 +--
2 files
eliminating the race condition.
Add support for parsing of GHESv2 sub-tables as well.
Signed-off-by: Tyler Baicar
CC: Jonathan (Zhixiong) Zhang
Reviewed-by: James Morse
---
drivers/acpi/apei/ghes.c | 49 +---
drivers/acpi/apei/hest.c | 7 +--
include/acpi
. The OS
should panic when a hardware error record is received with this
severity.
Call panic() after CPER data in error status block is printed if
severity is fatal, before each error section is handled.
Signed-off-by: Jonathan (Zhixiong) Zhang
Signed-off-by: Tyler Baicar
Reviewed-by: James Mors
Currently external aborts are unsupported by the guest abort
handling. Add handling for SEAs so that the host kernel reports
SEAs which occur in the guest kernel.
Signed-off-by: Tyler Baicar
---
arch/arm/include/asm/kvm_arm.h | 10 +
arch/arm/include/asm/system_misc.h | 5
section N.2.4.4.
Signed-off-by: Tyler Baicar
Acked-by: Steven Rostedt
---
drivers/acpi/apei/ghes.c| 8 +++-
drivers/firmware/efi/cper.c | 1 +
drivers/ras/ras.c | 1 +
include/ras/ras_event.h | 45 +
4 files changed, 54 insertions
. And thus user is not able to know
happening of such hardware error, including error record of
non-standard section.
This commit generates a trace event which contains raw error data
for unrecognized CPER section.
Signed-off-by: Tyler Baicar
CC: Jonathan (Zhixiong) Zhang
---
drivers/acpi/apei/g
Add support for ARM Common Platform Error Record (CPER).
UEFI 2.6 specification adds support for ARM specific
processor error information to be reported as part of the
CPER records. This provides more detail on for processor error logs.
Signed-off-by: Tyler Baicar
CC: Jonathan (Zhixiong) Zhang
error can then be decoded using vendor
specific tools.
Signed-off-by: Tyler Baicar
CC: Jonathan (Zhixiong) Zhang
Reviewed-by: James Morse
---
drivers/firmware/efi/cper.c | 12 ++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/drivers/firmware/efi/cper.c b/drivers/firmwar
. The OS
should panic when a hardware error record is received with this
severity.
Call panic() after CPER data in error status block is printed if
severity is fatal, before each error section is handled.
Signed-off-by: Jonathan (Zhixiong) Zhang
Signed-off-by: Tyler Baicar
Reviewed-by: James Mors
eliminating the race condition.
Add support for parsing of GHESv2 sub-tables as well.
Signed-off-by: Tyler Baicar
CC: Jonathan (Zhixiong) Zhang
Reviewed-by: James Morse
---
drivers/acpi/apei/ghes.c | 49 +---
drivers/acpi/apei/hest.c | 7 +--
include/acpi
specific SEA faults so that the
new SEA handler is used.
Signed-off-by: Tyler Baicar
CC: Jonathan (Zhixiong) Zhang
Reviewed-by: James Morse
---
arch/arm64/include/asm/esr.h | 1 +
arch/arm64/mm/fault.c| 43 +--
2 files changed, 34 insertions(+), 10
_t to map with in
the same way as ghes_ioremap_pfn_irq().
Signed-off-by: Tyler Baicar
CC: Jonathan (Zhixiong) Zhang
Reviewed-by: James Morse
---
arch/arm64/Kconfig| 2 ++
arch/arm64/mm/fault.c | 13 +
drivers/acpi/apei/Kconfig | 15 ++
drivers/acpi/apei/ghes.c
Currently when a RAS error is reported it is not timestamped.
The ACPI 6.1 spec adds the timestamp field to the generic error
data entry v3 structure. The timestamp of when the firmware
generated the error is now being reported.
Signed-off-by: Tyler Baicar
CC: Jonathan (Zhixiong) Zhang
Reviewed
15/9/8/646
V1: https://lkml.org/lkml/2016/2/5/544
Jonathan (Zhixiong) Zhang (1):
acpi: apei: panic OS with fatal error status block
Tyler Baicar (9):
acpi: apei: read ack upon ghes record consumption
ras: acpi/apei: cper: generic error data entry v3 per ACPI 6.1
efi: parse ARM processor er
Currently external aborts are unsupported by the guest abort
handling. Add handling for SEAs so that the host kernel reports
SEAs which occur in the guest kernel.
Signed-off-by: Tyler Baicar
---
arch/arm/include/asm/kvm_arm.h | 10 ++
arch/arm/include/asm/system_misc.h | 5
. And thus user is not able to know
happening of such hardware error, including error record of
non-standard section.
This commit generates a trace event which contains raw error data
for unrecognized CPER section.
Signed-off-by: Tyler Baicar
CC: Jonathan (Zhixiong) Zhang
---
drivers/acpi/apei/g
section N.2.4.4.
Signed-off-by: Tyler Baicar
Acked-by: Steven Rostedt
---
drivers/acpi/apei/ghes.c| 8 +++-
drivers/firmware/efi/cper.c | 1 +
drivers/ras/ras.c | 1 +
include/ras/ras_event.h | 34 ++
4 files changed, 43 insertions(+), 1
. The OS
should panic when a hardware error record is received with this
severity.
Call panic() after CPER data in error status block is printed if
severity is fatal, before each error section is handled.
Signed-off-by: Jonathan (Zhixiong) Zhang
Signed-off-by: Tyler Baicar
Reviewed-by: James Mors
0
[ 115.858288] {1}[Hardware Error]: 0040: fe80 0004
5f434345
[ 115.865665] {1}[Hardware Error]: 0050: 525f4543 574d
The raw data from the error can then be decoded using vendor
specific tools.
Signed-off-by: Tyler Baicar
CC: Jon
_t to map with in
the same way as ghes_ioremap_pfn_irq().
Signed-off-by: Tyler Baicar
CC: Jonathan (Zhixiong) Zhang
---
arch/arm64/Kconfig| 1 +
arch/arm64/mm/fault.c | 13
drivers/acpi/apei/Kconfig | 15 +
drivers/acpi/apei/ghes.c
Currently when a RAS error is reported it is not timestamped.
The ACPI 6.1 spec adds the timestamp field to the generic error
data entry v3 structure. The timestamp of when the firmware
generated the error is now being reported.
Signed-off-by: Tyler Baicar
CC: Jonathan (Zhixiong) Zhang
Reviewed
Add support for ARM Common Platform Error Record (CPER).
UEFI 2.6 specification adds support for ARM specific
processor error information to be reported as part of the
CPER records. This provides more detail on for processor error logs.
Signed-off-by: Tyler Baicar
CC: Jonathan (Zhixiong) Zhang
specific SEA faults so that the
new SEA handler is used.
Signed-off-by: Tyler Baicar
CC: Jonathan (Zhixiong) Zhang
Reviewed-by: James Morse
---
arch/arm64/include/asm/esr.h | 1 +
arch/arm64/mm/fault.c| 43 +--
2 files changed, 34 insertions(+), 10
ith fatal error status block patch.
Add processing of unrecognized CPER error section patches with updates
from previous comments. Original patches:
https://lkml.org/lkml/2015/9/8/646
V1: https://lkml.org/lkml/2016/2/5/544
Jonathan (Zhixiong) Zhang (1):
acpi: apei: panic OS with fatal
eliminating the race condition.
Add support for parsing of GHESv2 sub-tables as well.
Signed-off-by: Tyler Baicar
CC: Jonathan (Zhixiong) Zhang
Reviewed-by: James Morse
---
drivers/acpi/apei/ghes.c | 49 +---
drivers/acpi/apei/hest.c | 7 +--
include/acpi
_t to map with in
the same way as ghes_ioremap_pfn_irq().
Signed-off-by: Tyler Baicar
CC: Jonathan (Zhixiong) Zhang
---
arch/arm64/Kconfig| 1 +
arch/arm64/mm/fault.c | 13
drivers/acpi/apei/Kconfig | 15 +
drivers/acpi/apei/ghes.c
. The OS
should panic when a hardware error record is received with this
severity.
Call panic() after CPER data in error status block is printed if
severity is fatal, before each error section is handled.
Signed-off-by: Jonathan (Zhixiong) Zhang
Signed-off-by: Tyler Baicar
Reviewed-by: James Mors
. And thus user is not able to know
happening of such hardware error, including error record of
non-standard section.
This commit generates a trace event which contains raw error data
for unrecognized CPER section.
Signed-off-by: Tyler Baicar
CC: Jonathan (Zhixiong) Zhang
---
drivers/acpi/apei/g
section N.2.4.4.
Signed-off-by: Tyler Baicar
Acked-by: Steven Rostedt
---
drivers/acpi/apei/ghes.c| 8 +++-
drivers/firmware/efi/cper.c | 1 +
drivers/ras/ras.c | 1 +
include/ras/ras_event.h | 34 ++
4 files changed, 43 insertions(+), 1
0
[ 115.858288] {1}[Hardware Error]: 0040: fe80 0004
5f434345
[ 115.865665] {1}[Hardware Error]: 0050: 525f4543 574d
The raw data from the error can then be decoded using vendor
specific tools.
Signed-off-by: Tyler Baicar
CC: Jon
Currently external aborts are unsupported by the guest abort
handling. Add handling for SEAs so that the host kernel reports
SEAs which occur in the guest kernel.
Signed-off-by: Tyler Baicar
---
arch/arm/include/asm/kvm_arm.h | 1 +
arch/arm/include/asm/system_misc.h | 5 +
arch
eliminating the race condition.
Add support for parsing of GHESv2 sub-tables as well.
Signed-off-by: Tyler Baicar
CC: Jonathan (Zhixiong) Zhang
Reviewed-by: James Morse
---
drivers/acpi/apei/ghes.c | 49 +---
drivers/acpi/apei/hest.c | 7 +--
include/acpi
Add support for ARM Common Platform Error Record (CPER).
UEFI 2.6 specification adds support for ARM specific
processor error information to be reported as part of the
CPER records. This provides more detail on for processor error logs.
Signed-off-by: Tyler Baicar
CC: Jonathan (Zhixiong) Zhang
specific SEA faults so that the
new SEA handler is used.
Signed-off-by: Tyler Baicar
CC: Jonathan (Zhixiong) Zhang
Reviewed-by: James Morse
---
arch/arm64/include/asm/esr.h | 1 +
arch/arm64/mm/fault.c| 43 +--
2 files changed, 34 insertions(+), 10
Currently when a RAS error is reported it is not timestamped.
The ACPI 6.1 spec adds the timestamp field to the generic error
data entry v3 structure. The timestamp of when the firmware
generated the error is now being reported.
Signed-off-by: Tyler Baicar
CC: Jonathan (Zhixiong) Zhang
Reviewed
/544
Jonathan (Zhixiong) Zhang (1):
acpi: apei: panic OS with fatal error status block
Tyler Baicar (9):
acpi: apei: read ack upon ghes record consumption
ras: acpi/apei: cper: generic error data entry v3 per ACPI 6.1
efi: parse ARM processor error
arm64: exception: handle Synchronous Ext
Currently external aborts are unsupported by the guest abort
handling. Add handling for SEAs so that the host kernel reports
SEAs which occur in the guest kernel.
Signed-off-by: Tyler Baicar
---
arch/arm/include/asm/kvm_arm.h | 1 +
arch/arm/include/asm/system_misc.h | 5 +
arch
. And thus user is not able to know
happening of such hardware error, including error record of
non-standard section.
This commit generates a trace event which contains raw error data
for unrecognized CPER section.
Signed-off-by: Tyler Baicar
Signed-off-by: Jonathan (Zhixiong) Zhang
---
drivers
0
[ 115.858288] {1}[Hardware Error]: 0040: fe80 0004
5f434345
[ 115.865665] {1}[Hardware Error]: 0050: 525f4543 574d
Signed-off-by: Tyler Baicar
Signed-off-by: Jonathan (Zhixiong) Zhang
---
drivers/firmware/efi/cper.c | 12 ++
section N.2.4.4.
Signed-off-by: Tyler Baicar
Acked-by: Steven Rostedt
---
drivers/acpi/apei/ghes.c| 8 +++-
drivers/firmware/efi/cper.c | 1 +
drivers/ras/ras.c | 1 +
include/ras/ras_event.h | 34 ++
4 files changed, 43 insertions(+), 1
specific SEA faults so that the
new SEA handler is used.
Signed-off-by: Tyler Baicar
Signed-off-by: Jonathan (Zhixiong) Zhang
Signed-off-by: Naveen Kaje
Reviewed-by: James Morse
---
arch/arm64/include/asm/esr.h | 1 +
arch/arm64/mm/fault.c| 43
Currently when a RAS error is reported it is not timestamped.
The ACPI 6.1 spec adds the timestamp field to the generic error
data entry v3 structure. The timestamp of when the firmware
generated the error is now being reported.
Signed-off-by: Tyler Baicar
Signed-off-by: Jonathan (Zhixiong
_t to map with in
the same way as ghes_ioremap_pfn_irq().
Signed-off-by: Tyler Baicar
Signed-off-by: Jonathan (Zhixiong) Zhang
Signed-off-by: Naveen Kaje
---
arch/arm64/Kconfig| 2 ++
arch/arm64/mm/fault.c | 13
drivers/acpi/apei/Kconfig | 14 +
drivers/acpi/apei/g
. The OS
should panic when a hardware error record is received with this
severity.
Call panic() after CPER data in error status block is printed if
severity is fatal, before each error section is handled.
Signed-off-by: Jonathan (Zhixiong) Zhang
Signed-off-by: Tyler Baicar
Reviewed-by: James Mors
Add support for ARM Common Platform Error Record (CPER).
UEFI 2.6 specification adds support for ARM specific
processor error information to be reported as part of the
CPER records. This provides more detail on for processor error logs.
Signed-off-by: Tyler Baicar
Signed-off-by: Jonathan
eliminating the race condition.
Add support for parsing of GHESv2 sub-tables as well.
Signed-off-by: Tyler Baicar
Signed-off-by: Jonathan (Zhixiong) Zhang
Signed-off-by: Richard Ruigrok
Signed-off-by: Naveen Kaje
Reviewed-by: James Morse
---
drivers/acpi/apei/ghes.c | 49
1 - 100 of 178 matches
Mail list logo