Re: [PATCH 1/2] ACPI/AEST: Initial AEST driver

2022-05-09 Thread Tyler Baicar
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

Re: [PATCH 1/2] ACPI/AEST: Initial AEST driver

2021-12-17 Thread Tyler Baicar
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

Re: [PATCH 1/2] ACPI/AEST: Initial AEST driver

2021-12-17 Thread Tyler Baicar
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

Re: [PATCH 1/2] ACPI/AEST: Initial AEST driver

2021-12-17 Thread Tyler Baicar
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

Re: [PATCH v7 10/25] ACPI / APEI: Tell firmware the estatus queue consumed the records

2019-01-12 Thread Tyler Baicar
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) &

Re: [PATCH v7 10/25] ACPI / APEI: Tell firmware the estatus queue consumed the records

2019-01-12 Thread Tyler Baicar
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

Re: [PATCH v7 10/25] ACPI / APEI: Tell firmware the estatus queue consumed the records

2019-01-11 Thread Tyler Baicar
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) > > ... > > > >

Re: [PATCH v3 07/12] ACPI / APEI: Make the nmi_fixmap_idx per-ghes to allow multiple in_nmi() users

2018-05-16 Thread Tyler Baicar
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

Re: [PATCH v3 00/12] APEI in_nmi() rework and arm64 SDEI wire-up

2018-05-01 Thread Tyler Baicar
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:

Re: [PATCH 06/11] ACPI / APEI: Make the fixmap_idx per-ghes to allow multiple in_nmi() users

2018-02-20 Thread Tyler Baicar
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

[PATCH V17 11/11] arm/arm64: KVM: add guest SEA support

2017-05-19 Thread Tyler Baicar
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

[PATCH V17 10/11] trace, ras: add ARM processor error trace event

2017-05-19 Thread Tyler Baicar
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

[PATCH V17 07/11] acpi: apei: panic OS with fatal error status block

2017-05-19 Thread Tyler Baicar
. 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

[PATCH V17 08/11] efi: print unrecognized CPER section

2017-05-19 Thread Tyler Baicar
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

[PATCH V17 09/11] ras: acpi / apei: generate trace event for unrecognized CPER section

2017-05-19 Thread Tyler Baicar
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

[PATCH V17 01/11] acpi: apei: read ack upon ghes record consumption

2017-05-19 Thread Tyler Baicar
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

[PATCH V17 02/11] ras: acpi/apei: cper: add support for generic data v3 structure

2017-05-19 Thread Tyler Baicar
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

[PATCH V17 03/11] cper: add timestamp print to CPER status printing

2017-05-19 Thread Tyler Baicar
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

[PATCH V17 04/11] efi: parse ARM processor error

2017-05-19 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 CC: Jonathan (Zhixiong) Zhang

[PATCH V17 06/11] acpi: apei: handle SEA notification type for ARMv8

2017-05-19 Thread Tyler Baicar
_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

[PATCH V17 05/11] arm64: exception: handle Synchronous External Abort

2017-05-19 Thread Tyler Baicar
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

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

2017-05-19 Thread Tyler Baicar
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

[PATCH V16 09/11] ras: acpi / apei: generate trace event for unrecognized CPER section

2017-05-15 Thread Tyler Baicar
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

[PATCH V16 11/11] arm/arm64: KVM: add guest SEA support

2017-05-15 Thread Tyler Baicar
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

[PATCH V16 10/11] trace, ras: add ARM processor error trace event

2017-05-15 Thread Tyler Baicar
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

[PATCH V16 06/11] acpi: apei: handle SEA notification type for ARMv8

2017-05-15 Thread Tyler Baicar
_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

[PATCH V16 07/11] acpi: apei: panic OS with fatal error status block

2017-05-15 Thread Tyler Baicar
. 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

[PATCH V16 08/11] efi: print unrecognized CPER section

2017-05-15 Thread Tyler Baicar
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

[PATCH V16 05/11] arm64: exception: handle Synchronous External Abort

2017-05-15 Thread Tyler Baicar
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

[PATCH V16 01/11] acpi: apei: read ack upon ghes record consumption

2017-05-15 Thread Tyler Baicar
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

[PATCH V16 02/11] ras: acpi/apei: cper: add support for generic data v3 structure

2017-05-15 Thread Tyler Baicar
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

[PATCH V16 03/11] cper: add timestamp print to CPER status printing

2017-05-15 Thread Tyler Baicar
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

[PATCH V16 04/11] efi: parse ARM processor error

2017-05-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 CC: Jonathan (Zhixiong) Zhang

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

2017-05-15 Thread Tyler Baicar
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

[PATCH V15 11/11] arm/arm64: KVM: add guest SEA support

2017-04-18 Thread Tyler Baicar
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

[PATCH V15 06/11] acpi: apei: handle SEA notification type for ARMv8

2017-04-18 Thread Tyler Baicar
_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

[PATCH V15 09/11] ras: acpi / apei: generate trace event for unrecognized CPER section

2017-04-18 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 CC: Jonathan (Zhixiong) Zhang Tested-by: Shiju

[PATCH V15 10/11] trace, ras: add ARM processor error trace event

2017-04-18 Thread Tyler Baicar
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

[PATCH V15 08/11] efi: print unrecognized CPER section

2017-04-18 Thread Tyler Baicar
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

[PATCH V15 07/11] acpi: apei: panic OS with fatal error status block

2017-04-18 Thread Tyler Baicar
. 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

[PATCH V15 03/11] cper: add timestamp print to CPER status printing

2017-04-18 Thread Tyler Baicar
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

[PATCH V15 05/11] arm64: exception: handle Synchronous External Abort

2017-04-18 Thread Tyler Baicar
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

[PATCH V15 02/11] ras: acpi/apei: cper: add support for generic data v3 structure

2017-04-18 Thread Tyler Baicar
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

[PATCH V15 04/11] efi: parse ARM processor error

2017-04-18 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 CC: Jonathan (Zhixiong) Zhang

[PATCH V15 01/11] acpi: apei: read ack upon ghes record consumption

2017-04-18 Thread Tyler Baicar
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

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

2017-04-18 Thread Tyler Baicar
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

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

2017-03-28 Thread Tyler Baicar
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):

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

2017-03-28 Thread Tyler Baicar
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

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

2017-03-28 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 CC: Jonathan (Zhixiong) Zhang

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

2017-03-28 Thread Tyler Baicar
_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

[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 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

[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 CC: Jonathan (Zhixiong) Zhang Tested-by: Shiju

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

2017-03-28 Thread Tyler Baicar
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

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

2017-03-28 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 CC: Jonathan (Zhixiong) Zhang Reviewed

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

2017-03-28 Thread Tyler Baicar
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

[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 CC: Jonathan (Zhixiong) Zhang Reviewed-by: James Morse --- drivers/acpi/apei/ghes.c | 49 +--- drivers/acpi/apei/hest.c | 7 +-- include/acpi

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

2017-03-28 Thread Tyler Baicar
. 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

[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 --- arch/arm/include/asm/kvm_arm.h | 10 + arch/arm/include/asm/system_misc.h | 5

[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 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

[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 CC: Jonathan (Zhixiong) Zhang --- drivers/acpi/apei/g

[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 CC: Jonathan (Zhixiong) Zhang

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

2017-03-21 Thread Tyler Baicar
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

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

2017-03-21 Thread Tyler Baicar
. 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

[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 CC: Jonathan (Zhixiong) Zhang Reviewed-by: James Morse --- drivers/acpi/apei/ghes.c | 49 +--- drivers/acpi/apei/hest.c | 7 +-- include/acpi

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

2017-03-21 Thread Tyler Baicar
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

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

2017-03-21 Thread Tyler Baicar
_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

[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 CC: Jonathan (Zhixiong) Zhang Reviewed

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

2017-03-21 Thread Tyler Baicar
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

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

2017-03-06 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 --- arch/arm/include/asm/kvm_arm.h | 10 ++ arch/arm/include/asm/system_misc.h | 5

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

2017-03-06 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 CC: Jonathan (Zhixiong) Zhang --- drivers/acpi/apei/g

[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 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

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

2017-03-06 Thread Tyler Baicar
. 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

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

2017-03-06 Thread Tyler Baicar
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

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

2017-03-06 Thread Tyler Baicar
_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

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

2017-03-06 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 CC: Jonathan (Zhixiong) Zhang Reviewed

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

2017-03-06 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 CC: Jonathan (Zhixiong) Zhang

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

2017-03-06 Thread Tyler Baicar
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

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

2017-03-06 Thread Tyler Baicar
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

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

2017-03-06 Thread Tyler Baicar
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

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

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

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

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

[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 CC: Jonathan (Zhixiong) Zhang --- drivers/acpi/apei/g

[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 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

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

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

[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 --- arch/arm/include/asm/kvm_arm.h | 1 + arch/arm/include/asm/system_misc.h | 5 + arch

[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 CC: Jonathan (Zhixiong) Zhang Reviewed-by: James Morse --- drivers/acpi/apei/ghes.c | 49 +--- drivers/acpi/apei/hest.c | 7 +-- include/acpi

[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 CC: Jonathan (Zhixiong) Zhang

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

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

[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 CC: Jonathan (Zhixiong) Zhang Reviewed

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

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

[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 --- arch/arm/include/asm/kvm_arm.h | 1 + arch/arm/include/asm/system_misc.h | 5 + arch

[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 Signed-off-by: Jonathan (Zhixiong) Zhang --- drivers

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

2017-02-15 Thread Tyler Baicar
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 ++

[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 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

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

2017-02-15 Thread Tyler Baicar
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

[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 Signed-off-by: Jonathan (Zhixiong

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

2017-02-15 Thread Tyler Baicar
_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

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

2017-02-15 Thread Tyler Baicar
. 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

[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 Signed-off-by: Jonathan

[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 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   2   >