[PATCH V8 10/10] arm/arm64: KVM: add guest SEA support

2017-02-01 Thread Tyler Baicar
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 <tbai...@codeaurora.org> --- arch/arm/include/asm/kvm_arm.h | 1 + arch/arm/inclu

[PATCH V8 02/10] ras: acpi/apei: cper: generic error data entry v3 per ACPI 6.1

2017-02-01 Thread Tyler Baicar
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 <tbai...@codeaurora.org> Sign

[PATCH V8 01/10] acpi: apei: read ack upon ghes record consumption

2017-02-01 Thread Tyler Baicar
eliminating the race condition. Add support for parsing of GHESv2 sub-tables as well. Signed-off-by: Tyler Baicar <tbai...@codeaurora.org> Signed-off-by: Jonathan (Zhixiong) Zhang <zjzh...@codeaurora.org> Signed-off-by: Richard Ruigrok <rruig...@codeaurora.org> Signed-off-b

[PATCH V8 04/10] arm64: exception: handle Synchronous External Abort

2017-02-01 Thread Tyler Baicar
[] with specific SEA faults so that the new SEA handler is used. Signed-off-by: Tyler Baicar <tbai...@codeaurora.org> Signed-off-by: Jonathan (Zhixiong) Zhang <zjzh...@codeaurora.org> Signed-off-by: Naveen Kaje <nk...@codeaurora.org> --- arch/arm

[PATCH V8 05/10] acpi: apei: handle SEA notification type for ARMv8

2017-02-01 Thread Tyler Baicar
and report SEA exceptions when they occur. Signed-off-by: Tyler Baicar <tbai...@codeaurora.org> Signed-off-by: Jonathan (Zhixiong) Zhang <zjzh...@codeaurora.org> Signed-off-by: Naveen Kaje <nk...@codeaurora.org> --- arch/arm64/Kconfig| 2 ++ arch/arm64/mm/fault.c | 11 +++

[PATCH V8 06/10] acpi: apei: panic OS with fatal error status block

2017-02-01 Thread Tyler Baicar
HES notification type. 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 <zjzh...@codeaurora.org>

[PATCH V8 00/10] Add UEFI 2.6 and ACPI 6.1 updates for RAS on ARM64

2017-02-01 Thread Tyler Baicar
ml/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 error arm64: exception: handle S

[PATCH V8 03/10] efi: parse ARM processor error

2017-02-01 Thread Tyler Baicar
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 <tbai...@codeaurora.org>

[PATCH V8 07/10] efi: print unrecognized CPER section

2017-02-01 Thread Tyler Baicar
[ 115.858288] {1}[Hardware Error]: 0040: fe80 0004 5f434345 [ 115.865665] {1}[Hardware Error]: 0050: 525f4543 574d Signed-off-by: Tyler Baicar <tbai...@codeaurora.org> Signed-off-by: Jonathan (Zhixiong) Zhang <zjzh...@codea

[PATCH V8 09/10] trace, ras: add ARM processor error trace event

2017-02-01 Thread Tyler Baicar
section N.2.4.4. Signed-off-by: Tyler Baicar <tbai...@codeaurora.org> Acked-by: Steven Rostedt <rost...@goodmis.org> --- drivers/acpi/apei/ghes.c| 7 ++- drivers/firmware/efi/cper.c | 1 + drivers/ras/ras.c | 1 + include/ras/ras_even

[PATCH V8 08/10] ras: acpi / apei: generate trace event for unrecognized CPER section

2017-02-01 Thread Tyler Baicar
. 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 <tbai...@codeaurora.org> Signed-off-by: Jonathan (Zh

[PATCH V11 03/10] efi: parse ARM processor error

2017-02-21 Thread Tyler Baicar
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 <tbai...@codeaurora.org&

[PATCH V11 01/10] acpi: apei: read ack upon ghes record consumption

2017-02-21 Thread Tyler Baicar
eliminating the race condition. Add support for parsing of GHESv2 sub-tables as well. Signed-off-by: Tyler Baicar <tbai...@codeaurora.org> CC: Jonathan (Zhixiong) Zhang <zjzh...@codeaurora.org> Reviewed-by: James Morse <james.mo...@arm.com> --- drivers/acp

[PATCH V11 00/10] Add UEFI 2.6 and ACPI 6.1 updates for RAS on ARM64

2017-02-21 Thread Tyler Baicar
g (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 External Abort acpi: apei: hand

[PATCH V11 02/10] ras: acpi/apei: cper: generic error data entry v3 per ACPI 6.1

2017-02-21 Thread Tyler Baicar
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 <tbai...@codeaurora.org> CC: Jo

[PATCH V11 04/10] arm64: exception: handle Synchronous External Abort

2017-02-21 Thread Tyler Baicar
[] with specific SEA faults so that the new SEA handler is used. Signed-off-by: Tyler Baicar <tbai...@codeaurora.org> CC: Jonathan (Zhixiong) Zhang <zjzh...@codeaurora.org> Reviewed-by: James Morse <james.mo...@arm.com> --- arch/arm64/include/asm/esr.h | 1 + arch/arm64/mm/f

[PATCH V11 05/10] acpi: apei: handle SEA notification type for ARMv8

2017-02-21 Thread Tyler Baicar
to map with in the same way as ghes_ioremap_pfn_irq(). Signed-off-by: Tyler Baicar <tbai...@codeaurora.org> CC: Jonathan (Zhixiong) Zhang <zjzh...@codeaurora.org> --- arch/arm64/Kconfig| 1 + arch/arm64/mm/fault.c | 13 drivers/acpi/apei/Kconfig | 15 + drive

[PATCH V11 10/10] arm/arm64: KVM: add guest SEA support

2017-02-21 Thread Tyler Baicar
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 <tbai...@codeaurora.org> --- arch/arm/include/asm/kvm_arm.h | 1 + arch/arm/inclu

[PATCH V11 07/10] efi: print unrecognized CPER section

2017-02-21 Thread Tyler Baicar
[ 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 <t

[PATCH V11 09/10] trace, ras: add ARM processor error trace event

2017-02-21 Thread Tyler Baicar
section N.2.4.4. Signed-off-by: Tyler Baicar <tbai...@codeaurora.org> Acked-by: Steven Rostedt <rost...@goodmis.org> --- drivers/acpi/apei/ghes.c| 8 +++- drivers/firmware/efi/cper.c | 1 + drivers/ras/ras.c | 1 + include/ras/ras_even

[PATCH V11 06/10] acpi: apei: panic OS with fatal error status block

2017-02-21 Thread Tyler Baicar
HES notification type. 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 <zjzh...@codeaurora.org>

[PATCH V10 02/10] ras: acpi/apei: cper: generic error data entry v3 per ACPI 6.1

2017-02-15 Thread Tyler Baicar
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 <tbai...@codeaurora.org> Sign

[PATCH V10 05/10] acpi: apei: handle SEA notification type for ARMv8

2017-02-15 Thread Tyler Baicar
to map with in the same way as ghes_ioremap_pfn_irq(). Signed-off-by: Tyler Baicar <tbai...@codeaurora.org> Signed-off-by: Jonathan (Zhixiong) Zhang <zjzh...@codeaurora.org> Signed-off-by: Naveen Kaje <nk...@codeaurora.org> --- arch/arm64/Kconfig| 2 ++ arch/arm64/m

[PATCH V10 06/10] acpi: apei: panic OS with fatal error status block

2017-02-15 Thread Tyler Baicar
HES notification type. 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 <zjzh...@codeaurora.org>

[PATCH V10 04/10] arm64: exception: handle Synchronous External Abort

2017-02-15 Thread Tyler Baicar
[] with specific SEA faults so that the new SEA handler is used. Signed-off-by: Tyler Baicar <tbai...@codeaurora.org> Signed-off-by: Jonathan (Zhixiong) Zhang <zjzh...@codeaurora.org> Signed-off-by: Naveen Kaje <nk...@codeaurora.org> Reviewed-by: James Morse <james.mo...@arm.com> ---

[PATCH V9 09/10] trace, ras: add ARM processor error trace event

2017-02-15 Thread Tyler Baicar
section N.2.4.4. Signed-off-by: Tyler Baicar <tbai...@codeaurora.org> Acked-by: Steven Rostedt <rost...@goodmis.org> --- drivers/acpi/apei/ghes.c| 8 +++- drivers/firmware/efi/cper.c | 1 + drivers/ras/ras.c | 1 + include/ras/ras_even

[PATCH V9 02/10] ras: acpi/apei: cper: generic error data entry v3 per ACPI 6.1

2017-02-15 Thread Tyler Baicar
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 <tbai...@codeaurora.org> Sign

[PATCH V9 05/10] acpi: apei: handle SEA notification type for ARMv8

2017-02-15 Thread Tyler Baicar
to map with in the same way as ghes_ioremap_pfn_irq(). Signed-off-by: Tyler Baicar <tbai...@codeaurora.org> Signed-off-by: Jonathan (Zhixiong) Zhang <zjzh...@codeaurora.org> Signed-off-by: Naveen Kaje <nk...@codeaurora.org> --- arch/arm64/Kconfig| 2 ++ arch/arm64/m

[PATCH V9 04/10] arm64: exception: handle Synchronous External Abort

2017-02-15 Thread Tyler Baicar
[] with specific SEA faults so that the new SEA handler is used. Signed-off-by: Tyler Baicar <tbai...@codeaurora.org> Signed-off-by: Jonathan (Zhixiong) Zhang <zjzh...@codeaurora.org> Signed-off-by: Naveen Kaje <nk...@codeaurora.org> Reviewed-by: James Morse <james.mo...@arm.com> ---

[PATCH V9 06/10] acpi: apei: panic OS with fatal error status block

2017-02-15 Thread Tyler Baicar
HES notification type. 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 <zjzh...@codeaurora.org>

[PATCH V9 10/10] arm/arm64: KVM: add guest SEA support

2017-02-15 Thread Tyler Baicar
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 <tbai...@codeaurora.org> --- arch/arm/include/asm/kvm_arm.h | 1 + arch/arm/inclu

[PATCH V9 08/10] ras: acpi / apei: generate trace event for unrecognized CPER section

2017-02-15 Thread Tyler Baicar
. 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 <tbai...@codeaurora.org> Signed-off-by: Jonathan (Zh

[PATCH V9 07/10] efi: print unrecognized CPER section

2017-02-15 Thread Tyler Baicar
[ 115.858288] {1}[Hardware Error]: 0040: fe80 0004 5f434345 [ 115.865665] {1}[Hardware Error]: 0050: 525f4543 574d Signed-off-by: Tyler Baicar <tbai...@codeaurora.org> Signed-off-by: Jonathan (Zhixiong) Zhang <zjzh...@codea

[PATCH V9 00/10] Add UEFI 2.6 and ACPI 6.1 updates for RAS on ARM64

2017-02-15 Thread Tyler Baicar
://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 error arm64: exce

[PATCH V9 01/10] acpi: apei: read ack upon ghes record consumption

2017-02-15 Thread Tyler Baicar
eliminating the race condition. Add support for parsing of GHESv2 sub-tables as well. Signed-off-by: Tyler Baicar <tbai...@codeaurora.org> Signed-off-by: Jonathan (Zhixiong) Zhang <zjzh...@codeaurora.org> Signed-off-by: Richard Ruigrok <rruig...@codeaurora.org> Signed-off-b

[PATCH V9 03/10] efi: parse ARM processor error

2017-02-15 Thread Tyler Baicar
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 <tbai...@codeaurora.org>

[PATCH V10 10/10] arm/arm64: KVM: add guest SEA support

2017-02-15 Thread Tyler Baicar
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 <tbai...@codeaurora.org> --- arch/arm/include/asm/kvm_arm.h | 1 + arch/arm/inclu

[PATCH V10 00/10] Add UEFI 2.6 and ACPI 6.1 updates for RAS on ARM64

2017-02-15 Thread Tyler Baicar
s: 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 (9): acpi: apei: read ack upon ghes record consumption ras: acpi/apei: cper: generic error data entry v3 per

[PATCH V10 01/10] acpi: apei: read ack upon ghes record consumption

2017-02-15 Thread Tyler Baicar
eliminating the race condition. Add support for parsing of GHESv2 sub-tables as well. Signed-off-by: Tyler Baicar <tbai...@codeaurora.org> Signed-off-by: Jonathan (Zhixiong) Zhang <zjzh...@codeaurora.org> Signed-off-by: Richard Ruigrok <rruig...@codeaurora.org> Signed-off-b

[PATCH V10 08/10] ras: acpi / apei: generate trace event for unrecognized CPER section

2017-02-15 Thread Tyler Baicar
. 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 <tbai...@codeaurora.org> Signed-off-by: Jonathan (Zh

[PATCH V10 07/10] efi: print unrecognized CPER section

2017-02-15 Thread Tyler Baicar
[ 115.858288] {1}[Hardware Error]: 0040: fe80 0004 5f434345 [ 115.865665] {1}[Hardware Error]: 0050: 525f4543 574d Signed-off-by: Tyler Baicar <tbai...@codeaurora.org> Signed-off-by: Jonathan (Zhixiong) Zhang <zjzh...@codea

[PATCH V10 09/10] trace, ras: add ARM processor error trace event

2017-02-15 Thread Tyler Baicar
section N.2.4.4. Signed-off-by: Tyler Baicar <tbai...@codeaurora.org> Acked-by: Steven Rostedt <rost...@goodmis.org> --- drivers/acpi/apei/ghes.c| 8 +++- drivers/firmware/efi/cper.c | 1 + drivers/ras/ras.c | 1 + include/ras/ras_even

[PATCH V3 07/10] efi: print unrecognized CPER section

2016-10-08 Thread Tyler Baicar
[ 115.858288] {1}[Hardware Error]: 0040: fe80 0004 5f434345 [ 115.865665] {1}[Hardware Error]: 0050: 525f4543 574d Signed-off-by: Jonathan (Zhixiong) Zhang <zjzh...@codeaurora.org> Signed-off-by: Tyler Baicar <tbai...@codea

[PATCH V4 05/10] acpi: apei: handle SEA notification type for ARMv8

2016-10-21 Thread Tyler Baicar
and report SEA exceptions when they occur. Signed-off-by: Jonathan (Zhixiong) Zhang <zjzh...@codeaurora.org> Signed-off-by: Tyler Baicar <tbai...@codeaurora.org> Signed-off-by: Naveen Kaje <nk...@codeaurora.org> --- arch/arm64/Kconfig| 1 + drivers/acpi/apei/Kconfig | 14

[PATCH V4 07/10] efi: print unrecognized CPER section

2016-10-21 Thread Tyler Baicar
[ 115.858288] {1}[Hardware Error]: 0040: fe80 0004 5f434345 [ 115.865665] {1}[Hardware Error]: 0050: 525f4543 574d Signed-off-by: Jonathan (Zhixiong) Zhang <zjzh...@codeaurora.org> Signed-off-by: Tyler Baicar <tbai...@codea

[PATCH V4 00/10] Add UEFI 2.6 and ACPI 6.1 updates for RAS on ARM64

2016-10-21 Thread Tyler Baicar
zed 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 Tyler Baicar (9): acpi: apei: read ack upon ghes re

[PATCH V4 03/10] efi: parse ARMv8 processor error

2016-10-21 Thread Tyler Baicar
jzh...@codeaurora.org> Signed-off-by: Tyler Baicar <tbai...@codeaurora.org> Signed-off-by: Naveen Kaje <nk...@codeaurora.org> --- drivers/firmware/efi/cper.c | 135 include/linux/cper.h| 72 +++ 2 files changed, 207 i

[PATCH V4 04/10] arm64: exception: handle Synchronous External Abort

2016-10-21 Thread Tyler Baicar
. Update fault_info[] with specific SEA faults so that the new SEA handler is used. Signed-off-by: Jonathan (Zhixiong) Zhang <zjzh...@codeaurora.org> Signed-off-by: Tyler Baicar <tbai...@codeaurora.org> Signed-off-by: Naveen Kaje <nk...@codeaurora.org> --- arch/arm64/include/asm/

[PATCH V4 06/10] acpi: apei: panic OS with fatal error status block

2016-10-21 Thread Tyler Baicar
HES notification type. 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 <zjzh...@codeaurora.org>

[PATCH V4 02/10] ras: acpi/apei: cper: generic error data entry v3 per ACPI 6.1

2016-10-21 Thread Tyler Baicar
org> Signed-off-by: Richard Ruigrok <rruig...@codeaurora.org> Signed-off-by: Tyler Baicar <tbai...@codeaurora.org> Signed-off-by: Naveen Kaje <nk...@codeaurora.org> --- drivers/acpi/apei/ghes.c| 14 +++--- drivers/firmware/efi/cper.c | 67 +++

[PATCH V4 01/10] acpi: apei: read ack upon ghes record consumption

2016-10-21 Thread Tyler Baicar
eliminating the race condition. Signed-off-by: Jonathan (Zhixiong) Zhang <zjzh...@codeaurora.org> Signed-off-by: Richard Ruigrok <rruig...@codeaurora.org> Signed-off-by: Tyler Baicar <tbai...@codeaurora.org> Signed-off-by: Naveen Kaje <nk...@codeaurora.org> --- drive

[PATCH V4 10/10] arm64: KVM: add guest SEA support

2016-10-21 Thread Tyler Baicar
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 <tbai...@codeaurora.org> --- arch/arm/include/asm/kvm_arm.h | 1 + arch/arm/inclu

[PATCH V4 08/10] ras: acpi / apei: generate trace event for unrecognized CPER section

2016-10-21 Thread Tyler Baicar
. 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: Jonathan (Zhixiong) Zhang <zjzh...@codeaurora.org> Signed-off-by:

[PATCH V4 09/10] trace, ras: add ARM processor error trace event

2016-10-21 Thread Tyler Baicar
section N.2.4.4. Signed-off-by: Tyler Baicar <tbai...@codeaurora.org> --- drivers/acpi/apei/ghes.c| 9 +++- drivers/firmware/efi/cper.c | 1 + drivers/ras/ras.c | 1 + include/ras/ras_event.h | 55 + 4 files changed, 65 inse

[PATCH V5 05/10] acpi: apei: handle SEA notification type for ARMv8

2016-11-21 Thread Tyler Baicar
and report SEA exceptions when they occur. Signed-off-by: Jonathan (Zhixiong) Zhang <zjzh...@codeaurora.org> Signed-off-by: Tyler Baicar <tbai...@codeaurora.org> Signed-off-by: Naveen Kaje <nk...@codeaurora.org> --- arch/arm64/Kconfig| 1 + drivers/acpi/apei/Kconfig | 14

[PATCH V5 01/10] acpi: apei: read ack upon ghes record consumption

2016-11-21 Thread Tyler Baicar
eliminating the race condition. Signed-off-by: Jonathan (Zhixiong) Zhang <zjzh...@codeaurora.org> Signed-off-by: Richard Ruigrok <rruig...@codeaurora.org> Signed-off-by: Tyler Baicar <tbai...@codeaurora.org> Signed-off-by: Naveen Kaje <nk...@codeaurora.org> --- drive

[PATCH V5 07/10] efi: print unrecognized CPER section

2016-11-21 Thread Tyler Baicar
[ 115.858288] {1}[Hardware Error]: 0040: fe80 0004 5f434345 [ 115.865665] {1}[Hardware Error]: 0050: 525f4543 574d Signed-off-by: Jonathan (Zhixiong) Zhang <zjzh...@codeaurora.org> Signed-off-by: Tyler Baicar <tbai...@codea

[PATCH V5 09/10] trace, ras: add ARM processor error trace event

2016-11-21 Thread Tyler Baicar
section N.2.4.4. Signed-off-by: Tyler Baicar <tbai...@codeaurora.org> Acked-by: Steven Rostedt <rost...@goodmis.org> --- drivers/acpi/apei/ghes.c| 9 +++- drivers/firmware/efi/cper.c | 1 + drivers/ras/ras.c | 1 + include/ras/ras_even

[PATCH V5 04/10] arm64: exception: handle Synchronous External Abort

2016-11-21 Thread Tyler Baicar
. Update fault_info[] with specific SEA faults so that the new SEA handler is used. Signed-off-by: Jonathan (Zhixiong) Zhang <zjzh...@codeaurora.org> Signed-off-by: Tyler Baicar <tbai...@codeaurora.org> Signed-off-by: Naveen Kaje <nk...@codeaurora.org> --- arch/arm64/include/asm/

[PATCH V5 06/10] acpi: apei: panic OS with fatal error status block

2016-11-21 Thread Tyler Baicar
HES notification type. 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 <zjzh...@codeaurora.org>

[PATCH V5 02/10] ras: acpi/apei: cper: generic error data entry v3 per ACPI 6.1

2016-11-21 Thread Tyler Baicar
org> Signed-off-by: Richard Ruigrok <rruig...@codeaurora.org> Signed-off-by: Tyler Baicar <tbai...@codeaurora.org> Signed-off-by: Naveen Kaje <nk...@codeaurora.org> --- drivers/acpi/apei/ghes.c| 14 +++--- drivers/firmware/efi/cper.c | 62 +++

[PATCH V5 08/10] ras: acpi / apei: generate trace event for unrecognized CPER section

2016-11-21 Thread Tyler Baicar
. 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: Jonathan (Zhixiong) Zhang <zjzh...@codeaurora.org> Signed-off-by:

[PATCH V5 00/10] Add UEFI 2.6 and ACPI 6.1 updates for RAS on ARM64

2016-11-21 Thread Tyler Baicar
tion 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 Tyler Baicar (9): acpi: apei: read ack upon ghes record consumpti

[PATCH V6 01/10] acpi: apei: read ack upon ghes record consumption

2016-12-07 Thread Tyler Baicar
eliminating the race condition. Add support for parsing of GHESv2 sub-tables as well. Signed-off-by: Tyler Baicar <tbai...@codeaurora.org> Signed-off-by: Jonathan (Zhixiong) Zhang <zjzh...@codeaurora.org> Signed-off-by: Richard Ruigrok <rruig...@codeaurora.org> Signed-off-b

[PATCH V6 10/10] arm/arm64: KVM: add guest SEA support

2016-12-07 Thread Tyler Baicar
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 <tbai...@codeaurora.org> --- arch/arm/include/asm/kvm_arm.h | 1 + arch/arm/inclu

[PATCH V6 04/10] arm64: exception: handle Synchronous External Abort

2016-12-07 Thread Tyler Baicar
. Update fault_info[] with specific SEA faults so that the new SEA handler is used. Signed-off-by: Tyler Baicar <tbai...@codeaurora.org> Signed-off-by: Jonathan (Zhixiong) Zhang <zjzh...@codeaurora.org> Signed-off-by: Naveen Kaje <nk...@codeaurora.org> --- arch/arm64/include/asm/

[PATCH V6 05/10] acpi: apei: handle SEA notification type for ARMv8

2016-12-07 Thread Tyler Baicar
and report SEA exceptions when they occur. Signed-off-by: Tyler Baicar <tbai...@codeaurora.org> Signed-off-by: Jonathan (Zhixiong) Zhang <zjzh...@codeaurora.org> Signed-off-by: Naveen Kaje <nk...@codeaurora.org> --- arch/arm64/Kconfig| 1 + drivers/acpi/apei/Kconfig | 14

[PATCH V6 02/10] ras: acpi/apei: cper: generic error data entry v3 per ACPI 6.1

2016-12-07 Thread Tyler Baicar
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 <tbai...@codeaurora.org> Sign

[PATCH V6 03/10] efi: parse ARM processor error

2016-12-07 Thread Tyler Baicar
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 <tbai...@codeaurora.org>

[PATCH V6 09/10] trace, ras: add ARM processor error trace event

2016-12-07 Thread Tyler Baicar
section N.2.4.4. Signed-off-by: Tyler Baicar <tbai...@codeaurora.org> Acked-by: Steven Rostedt <rost...@goodmis.org> --- drivers/acpi/apei/ghes.c| 9 +++- drivers/firmware/efi/cper.c | 1 + drivers/ras/ras.c | 1 + include/ras/ras_even

[PATCH V6 06/10] acpi: apei: panic OS with fatal error status block

2016-12-07 Thread Tyler Baicar
HES notification type. 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 <zjzh...@codeaurora.org>

[PATCH V7 00/10] Add UEFI 2.6 and ACPI 6.1 updates for RAS on ARM64

2017-01-12 Thread Tyler Baicar
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 External Abort acpi: apei: handle SEA notifica

[PATCH V7 01/10] acpi: apei: read ack upon ghes record consumption

2017-01-12 Thread Tyler Baicar
eliminating the race condition. Add support for parsing of GHESv2 sub-tables as well. Signed-off-by: Tyler Baicar <tbai...@codeaurora.org> Signed-off-by: Jonathan (Zhixiong) Zhang <zjzh...@codeaurora.org> Signed-off-by: Richard Ruigrok <rruig...@codeaurora.org> Signed-off-b

[PATCH V7 03/10] efi: parse ARM processor error

2017-01-12 Thread Tyler Baicar
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 <tbai...@codeaurora.org>

[PATCH V7 02/10] ras: acpi/apei: cper: generic error data entry v3 per ACPI 6.1

2017-01-12 Thread Tyler Baicar
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 <tbai...@codeaurora.org> Sign

[PATCH V7 08/10] ras: acpi / apei: generate trace event for unrecognized CPER section

2017-01-12 Thread Tyler Baicar
. 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 <tbai...@codeaurora.org> Signed-off-by: Jonathan (Zh

[PATCH V7 05/10] acpi: apei: handle SEA notification type for ARMv8

2017-01-12 Thread Tyler Baicar
and report SEA exceptions when they occur. Signed-off-by: Tyler Baicar <tbai...@codeaurora.org> Signed-off-by: Jonathan (Zhixiong) Zhang <zjzh...@codeaurora.org> Signed-off-by: Naveen Kaje <nk...@codeaurora.org> --- arch/arm64/Kconfig| 2 ++ drivers/acpi/apei/Kconfig | 14

[PATCH V7 07/10] efi: print unrecognized CPER section

2017-01-12 Thread Tyler Baicar
[ 115.858288] {1}[Hardware Error]: 0040: fe80 0004 5f434345 [ 115.865665] {1}[Hardware Error]: 0050: 525f4543 574d Signed-off-by: Tyler Baicar <tbai...@codeaurora.org> Signed-off-by: Jonathan (Zhixiong) Zhang <zjzh...@codea

[PATCH V7 04/10] arm64: exception: handle Synchronous External Abort

2017-01-12 Thread Tyler Baicar
. Update fault_info[] with specific SEA faults so that the new SEA handler is used. Signed-off-by: Tyler Baicar <tbai...@codeaurora.org> Signed-off-by: Jonathan (Zhixiong) Zhang <zjzh...@codeaurora.org> Signed-off-by: Naveen Kaje <nk...@codeaurora.org> --- arch/arm64/include/asm/

[PATCH V7 09/10] trace, ras: add ARM processor error trace event

2017-01-12 Thread Tyler Baicar
section N.2.4.4. Signed-off-by: Tyler Baicar <tbai...@codeaurora.org> Acked-by: Steven Rostedt <rost...@goodmis.org> --- drivers/acpi/apei/ghes.c| 7 ++- drivers/firmware/efi/cper.c | 1 + drivers/ras/ras.c | 1 + include/ras/ras_even

[PATCH V7 06/10] acpi: apei: panic OS with fatal error status block

2017-01-12 Thread Tyler Baicar
HES notification type. 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 <zjzh...@codeaurora.org>

[PATCH V7 10/10] arm/arm64: KVM: add guest SEA support

2017-01-12 Thread Tyler Baicar
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 <tbai...@codeaurora.org> --- arch/arm/include/asm/kvm_arm.h | 1 + arch/arm/inclu

[PATCH V14 07/10] efi: print unrecognized CPER section

2017-03-28 Thread Tyler Baicar
can then be decoded using vendor specific tools. Signed-off-by: Tyler Baicar <tbai...@codeaurora.org> CC: Jonathan (Zhixiong) Zhang <zjzh...@codeaurora.org> Reviewed-by: James Morse <james.mo...@arm.com> --- drivers/firmware/efi/cper.c | 12 ++-- 1 file changed, 1

[PATCH V14 08/10] ras: acpi / apei: generate trace event for unrecognized CPER section

2017-03-28 Thread Tyler Baicar
. 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 <tbai...@codeaurora.org> CC: Jonathan (Zhixiong) Zhang

[PATCH V14 09/10] trace, ras: add ARM processor error trace event

2017-03-28 Thread Tyler Baicar
section N.2.4.4. Signed-off-by: Tyler Baicar <tbai...@codeaurora.org> Acked-by: Steven Rostedt <rost...@goodmis.org> Reviewed-by: Xie XiuQi <xiexi...@huawei.com> --- drivers/acpi/apei/ghes.c| 8 +++- drivers/firmware/efi/cper.c | 1 + drivers/ras/ras.c | 1 + inclu

[PATCH V14 01/10] acpi: apei: read ack upon ghes record consumption

2017-03-28 Thread Tyler Baicar
eliminating the race condition. Add support for parsing of GHESv2 sub-tables as well. Signed-off-by: Tyler Baicar <tbai...@codeaurora.org> CC: Jonathan (Zhixiong) Zhang <zjzh...@codeaurora.org> Reviewed-by: James Morse <james.mo...@arm.com> --- drivers/acp

[PATCH V14 04/10] arm64: exception: handle Synchronous External Abort

2017-03-28 Thread Tyler Baicar
[] with specific SEA faults so that the new SEA handler is used. Signed-off-by: Tyler Baicar <tbai...@codeaurora.org> CC: Jonathan (Zhixiong) Zhang <zjzh...@codeaurora.org> Reviewed-by: James Morse <james.mo...@arm.com> Acked-by: Catalin Marinas <catalin.mari...@arm.com> --- arch/arm6

[PATCH V14 00/10] Add UEFI 2.6 and ACPI 6.1 updates for RAS on ARM64

2017-03-28 Thread Tyler Baicar
c 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): acpi: apei: panic OS with f

[PATCH V13 10/10] arm/arm64: KVM: add guest SEA support

2017-03-21 Thread Tyler Baicar
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 <tbai...@codeaurora.org> --- arch/arm/include/asm/kvm_arm.h | 10 + arch/arm/inclu

[PATCH V13 09/10] trace, ras: add ARM processor error trace event

2017-03-21 Thread Tyler Baicar
section N.2.4.4. Signed-off-by: Tyler Baicar <tbai...@codeaurora.org> Acked-by: Steven Rostedt <rost...@goodmis.org> --- drivers/acpi/apei/ghes.c| 8 +++- drivers/firmware/efi/cper.c | 1 + drivers/ras/ras.c | 1 + include/ras/ras_even

[PATCH V13 08/10] ras: acpi / apei: generate trace event for unrecognized CPER section

2017-03-21 Thread Tyler Baicar
. 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 <tbai...@codeaurora.org> CC: Jonathan (Zhixiong) Zhang

[PATCH V13 03/10] efi: parse ARM processor error

2017-03-21 Thread Tyler Baicar
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 <tbai...@codeaurora.org&

[PATCH V13 01/10] acpi: apei: read ack upon ghes record consumption

2017-03-21 Thread Tyler Baicar
eliminating the race condition. Add support for parsing of GHESv2 sub-tables as well. Signed-off-by: Tyler Baicar <tbai...@codeaurora.org> CC: Jonathan (Zhixiong) Zhang <zjzh...@codeaurora.org> Reviewed-by: James Morse <james.mo...@arm.com> --- drivers/acp

[PATCH V13 04/10] arm64: exception: handle Synchronous External Abort

2017-03-21 Thread Tyler Baicar
[] with specific SEA faults so that the new SEA handler is used. Signed-off-by: Tyler Baicar <tbai...@codeaurora.org> CC: Jonathan (Zhixiong) Zhang <zjzh...@codeaurora.org> Reviewed-by: James Morse <james.mo...@arm.com> --- arch/arm64/include/asm/esr.h | 1 + arch/arm64/mm/f

[PATCH V13 05/10] acpi: apei: handle SEA notification type for ARMv8

2017-03-21 Thread Tyler Baicar
to map with in the same way as ghes_ioremap_pfn_irq(). Signed-off-by: Tyler Baicar <tbai...@codeaurora.org> CC: Jonathan (Zhixiong) Zhang <zjzh...@codeaurora.org> Reviewed-by: James Morse <james.mo...@arm.com> --- arch/arm64/Kconfig| 2 ++ arch/arm64/mm/fault.c | 13

[PATCH V13 06/10] acpi: apei: panic OS with fatal error status block

2017-03-21 Thread Tyler Baicar
HES notification type. 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 <zjzh...@codeaurora.org>

[PATCH V13 00/10] Add UEFI 2.6 and ACPI 6.1 updates for RAS on ARM64

2017-03-21 Thread Tyler Baicar
rg/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 error arm64: exception: handle

[PATCH V13 02/10] ras: acpi/apei: cper: generic error data entry v3 per ACPI 6.1

2017-03-21 Thread Tyler Baicar
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 <tbai...@codeaurora.org> CC: Jo

[PATCH V13 07/10] efi: print unrecognized CPER section

2017-03-21 Thread Tyler Baicar
can then be decoded using vendor specific tools. Signed-off-by: Tyler Baicar <tbai...@codeaurora.org> CC: Jonathan (Zhixiong) Zhang <zjzh...@codeaurora.org> Reviewed-by: James Morse <james.mo...@arm.com> --- drivers/firmware/efi/cper.c | 12 ++-- 1 file changed, 1

[PATCH V12 09/10] trace, ras: add ARM processor error trace event

2017-03-06 Thread Tyler Baicar
section N.2.4.4. Signed-off-by: Tyler Baicar <tbai...@codeaurora.org> Acked-by: Steven Rostedt <rost...@goodmis.org> --- drivers/acpi/apei/ghes.c| 8 +++- drivers/firmware/efi/cper.c | 1 + drivers/ras/ras.c | 1 + include/ras/ras_even

  1   2   >