[PATCH V1 3/6] efi: parse ARMv8 processor error

2016-02-05 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 | 136 include/linux/cper.h| 72 +++ 2 files changed, 208 i

[PATCH V1 4/6] arm64: exception: handle Synchronous External Abort

2016-02-05 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 V1 6/6] acpi: apei: handle SEA notification type for ARMv8

2016-02-05 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 | 13

[PATCH V1 5/6] arm64: exception: handle instruction abort at current EL

2016-02-05 Thread Tyler Baicar
Add a handler for instruction aborts at the current EL (ESR_ELx_EC_IABT_CUR) so they are no longer handled in el1_inv. This allows firmware first handling for possible SEA (Synchronous External Abort) caused instruction abort at current EL. Signed-off-by: Tyler Baicar <tbai...@codeaurora.

[PATCH V1 2/6] ras: acpi/apei: cper: generic error data entry v3 per ACPI 6.1

2016-02-05 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| 35 -- drivers/firmware/efi/cper.c | 108 +

[PATCH V1 1/6] acpi: apei: read ack upon ghes record consumption

2016-02-05 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 V1 0/6] Add UEFI 2.6 and ACPI 6.1 updates for RAS on ARM64

2016-02-05 Thread Tyler Baicar
of the UEFI 2.6 specification. Depends on: [PATCH v5] acpi, apei, arm64: APEI initial support for aarch64. https://lkml.org/lkml/2015/12/10/131 Tyler Baicar (6): acpi: apei: read ack upon ghes record consumption ras: acpi/apei: cper: generic error data entry v3 per ACPI 6.1 efi

[PATCH V2 6/9] acpi: apei: handle SEA notification type for ARMv8

2016-04-06 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 V2 9/9] ras: acpi / apei: generate trace event for unrecognized CPER section

2016-04-06 Thread Tyler Baicar
UEFI spec allows for non-standard section in Common Platform Error Record. This is defined in section N.2.3 of UEFI version 2.5. Currently if the CPER section's type (UUID) does not match with any section type that the kernel knows how to parse, trace event is not generated for such section. And

[PATCH V2 8/9] efi: print unrecognized CPER section

2016-04-06 Thread Tyler Baicar
UEFI spec allows for non-standard section in Common Platform Error Record. This is defined in section N.2.3 of UEFI version 2.5. Currently if the CPER section's type (UUID) does not match with one of the section types that the kernel knows how to parse, the section is skipped. Therefore, user is

[PATCH V2 2/9] ras: acpi/apei: cper: generic error data entry v3 per ACPI 6.1

2016-04-06 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| 35 -- drivers/firmware/efi/cper.c | 111 +

[PATCH V2 0/9] Add UEFI 2.6 and ACPI 6.1 updates for RAS on ARM64

2016-04-06 Thread Tyler Baicar
: 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 (8): acpi: apei: read ack upon ghes record consumption ras: acpi/apei: cper: generic error data entry v3 per ACPI 6.1 efi

[PATCH V2 7/9] acpi: apei: panic OS with fatal error status block

2016-04-06 Thread Tyler Baicar
From: "Jonathan (Zhixiong) Zhang" Even if an error status block's severity is fatal, the kernel does not honor the severity level and panic. With the firmware first model, the platform could inform the OS about a fatal hardware error through the non-NMI GHES notification

[PATCH V2 4/9] arm64: exception: handle Synchronous External Abort

2016-04-06 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 V2 1/9] acpi: apei: read ack upon ghes record consumption

2016-04-06 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 V2 5/9] arm64: exception: handle instruction abort at current EL

2016-04-06 Thread Tyler Baicar
Add a handler for instruction aborts at the current EL (ESR_ELx_EC_IABT_CUR) so they are no longer handled in el1_inv. This allows firmware first handling for possible SEA (Synchronous External Abort) caused instruction abort at current EL. Signed-off-by: Tyler Baicar <tbai...@codeaurora.

[PATCH V2 3/9] efi: parse ARMv8 processor error

2016-04-06 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 | 138 include/linux/cper.h| 72 +++ 2 files changed, 210 i

[PATCH] arm64: hwpoison: add VM_FAULT_HWPOISON[_LARGE] handling

2017-02-01 Thread Tyler Baicar
ed to user space and si_addr_lsb field is initialized. Signed-off-by: Jonathan (Zhixiong) Zhang <zjzh...@codeaurora.org> Signed-off-by: Tyler Baicar <tbai...@codeaurora.org> --- arch/arm64/mm/fault.c | 31 +++ 1 file changed, 27 insertions(+), 4 deletions(-) diff -

[PATCH] arm64: kconfig: allow support for memory failure handling

2017-02-01 Thread Tyler Baicar
provides a means for the platform to convey error information to the kernel. Declare ARCH_SUPPORTS_MEMORY_FAILURE, as arm64 does support memory failure recovery attempt. Signed-off-by: Jonathan (Zhixiong) Zhang <zjzh...@codeaurora.org> Signed-off-by: Tyler Baicar <tbai...@codeaurora.org> ---

[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 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 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 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 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 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 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 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 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 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 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 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 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 V11 08/10] ras: acpi / apei: generate trace event for unrecognized CPER section

2017-02-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 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 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 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 V2] arm64: hwpoison: add VM_FAULT_HWPOISON[_LARGE] handling

2017-02-21 Thread Tyler Baicar
ed to user space and si_addr_lsb field is initialized. Signed-off-by: Jonathan (Zhixiong) Zhang <zjzh...@codeaurora.org> Signed-off-by: Tyler Baicar <tbai...@codeaurora.org> --- arch/arm64/mm/fault.c | 22 +++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/

[PATCH V2] arm64: kconfig: allow support for memory failure handling

2017-02-21 Thread Tyler Baicar
provides a means for the platform to convey error information to the kernel. Declare ARCH_SUPPORTS_MEMORY_FAILURE, as arm64 does support memory failure recovery attempt. Signed-off-by: Jonathan (Zhixiong) Zhang <zjzh...@codeaurora.org> Signed-off-by: Tyler Baicar <tbai...@codeaurora.org> --- a

[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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 V2 1/2] PCI/AER: Remove duplicate AER severity translation

2016-09-14 Thread Tyler Baicar
() to be incorrect. Remove the second translation that is in cper_print_aer() since this function is already receiving the correct AER severity. Signed-off-by: Tyler Baicar <tbai...@codeaurora.org> Reviewed-by: Borislav Petkov <b...@suse.de> --- drivers/pci/pcie/aer/aerdrv_errprint.c | 6 ++-

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

2016-09-14 Thread Tyler Baicar
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

[PATCH V2 2/2] acpi: apei: send correct severity to calculate AER severity

2016-09-14 Thread Tyler Baicar
Currently the AER severity is calculated by calling cper_severity_to_aer(), but the parameter sent is actually the GHES severity. This causes the AER severity to be incorrect. Fix the parameter to be the CPER severity instead of the GHES severity. Signed-off-by: Tyler Baicar <t

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

2016-09-14 Thread Tyler Baicar
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

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

2016-09-12 Thread Tyler Baicar
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

[PATCH 2/2] acpi: apei: send correct severity to calculate AER severity

2016-09-12 Thread Tyler Baicar
Currently the AER severity is calculated by calling cper_severity_to_aer(), but the parameter sent is actually the GHES severity. This causes the AER severity to be incorrect. Fix the parameter to be the CPER severity instead of the GHES severity. Signed-off-by: Tyler Baicar <t

[PATCH 1/2] PCI/AER: Remove duplicate AER severity translation

2016-09-12 Thread Tyler Baicar
() to be incorrect. Remove the second translation that is in cper_print_aer() since this function is already recieving the correct AER severity. Signed-off-by: Tyler Baicar <tbai...@codeaurora.org> --- drivers/pci/pcie/aer/aerdrv_errprint.c | 6 ++ include/linux/aer.h| 2

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

2016-10-07 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 V3 00/10] Add UEFI 2.6 and ACPI 6.1 updates for RAS on ARM64

2016-10-07 Thread Tyler Baicar
iginal 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 consumption ras: acpi/apei: cper: generic error data entry v3 per

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

2016-10-07 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 V3 02/10] ras: acpi/apei: cper: generic error data entry v3 per ACPI 6.1

2016-10-07 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| 25 ++-- drivers/firmware/efi/cper.c | 97 ++

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

2016-10-07 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 V3 09/10] trace, ras: add ARM processor error trace event

2016-10-07 Thread Tyler Baicar
section N.2.4.4. Signed-off-by: Tyler Baicar <tbai...@codeaurora.org> --- drivers/firmware/efi/cper.c | 9 ++ drivers/ras/ras.c | 1 + include/ras/ras_event.h | 67 + 3 files changed, 77 insertions(+) diff --git a/drivers/firmwa

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

2016-10-07 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 | 15

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

2016-10-07 Thread Tyler Baicar
From: "Jonathan (Zhixiong) Zhang" Even if an error status block's severity is fatal, the kernel does not honor the severity level and panic. With the firmware first model, the platform could inform the OS about a fatal hardware error through the non-NMI GHES notification

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

2016-10-07 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 V3 04/10] arm64: exception: handle Synchronous External Abort

2016-10-07 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 V3 10/10] arm64: KVM: add guest SEA support

2016-10-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 v2] e1000e: free IRQ regardless of __E1000_DOWN

2016-11-09 Thread Tyler Baicar
a kernel bug later in e1000_remove because the IRQ still has action since it was never freed. A secondary bus reset can cause this case to happen. Signed-off-by: Tyler Baicar <tbai...@codeaurora.org> --- drivers/net/ethernet/intel/e1000e/netdev.c | 3 ++- 1 file changed, 2 insertions(+), 1 de

[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 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 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 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 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 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 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 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 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 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 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 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 10/10] arm/arm64: KVM: add guest SEA support

2016-11-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 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 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

  1   2   3   4   5   6   >