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

2022-05-09 Thread Tyler Baicar
- 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; james.mo...@arm.com

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 Source

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 <tbai...@codeaurora.org> Thanks! Tyler On 4/27/2018 11

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.

[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 <tbai...@codeaurora.org> Acked-by: Catalin Marinas <catalin.mari...@arm.c

[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 <tbai...@codeaurora.org> Acked-by: Steven Rostedt <rost...@goodmis.org> Reviewed-by: Xie XiuQi <xiexi...@huawei.com> --- drivers/acpi/apei/ghes.c| 6 +- drivers/firmware/efi/cper.c | 1 + drivers/ras/ras.c | 6 ++ i

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

2017-05-19 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 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 <tbai...@codeaurora.org> CC: Jonathan (Zhixiong) Zhang <zjzh...@codeaurora.org> Reviewed-by: James Morse <james.mo...@arm.com> --- drivers/firmware/efi/cper.c | 11 +-- 1 file changed, 9 insertions(+), 2

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

2017-05-19 Thread Tyler Baicar
. Generate a trace event which contains the raw error data for non-standard section type error records. Signed-off-by: Tyler Baicar <tbai...@codeaurora.org> CC: Jonathan (Zhixiong) Zhang <zjzh...@codeaurora.org> Tested-by: Shiju Jose <shiju.j...@huawei.com> --- drivers/acpi

[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 <tbai...@codeaurora.org> CC: Jonathan (Zhixiong) Zhang <zjzh...@codeaurora.org> Reviewed-by: James Morse <james.mo...@arm.com> --- drivers/acp

[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 <tbai...@codeaurora.org> CC: Jonathan (Zhixiong) Zhang

[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 <tbai...@codeaurora.org> CC: Jonathan (Zhixiong) Zhang <zjzh...@codeaurora.org> --- drivers/firmware/efi

[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 <tbai...@codeaurora.org&

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

2017-05-19 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 V17 00/11] Add UEFI 2.6 and ACPI 6.1 updates for RAS on ARM64

2017-05-19 Thread Tyler Baicar
xiong) 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 efi: parse ARM processor error arm64: exce

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

2017-05-15 Thread Tyler Baicar
. Generate a trace event which contains the raw error data for non-standard section type error records. Signed-off-by: Tyler Baicar <tbai...@codeaurora.org> CC: Jonathan (Zhixiong) Zhang <zjzh...@codeaurora.org> Tested-by: Shiju Jose <shiju.j...@huawei.com> --- drivers/acpi

[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 <tbai...@codeaurora.org> Acked-by: Catalin Marinas <catalin.mari...@arm.c

[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 <tbai...@codeaurora.org> Acked-by: Steven Rostedt <rost...@goodmis.org> Reviewed-by: Xie XiuQi <xiexi...@huawei.com> --- drivers/acpi/apei/ghes.c| 6 +- drivers/firmware/efi/cper.c | 1 + drivers/ras/ras.c | 6 ++ i

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

2017-05-15 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> Acked-by: Catalin Marinas <catalin.mari...@arm.com> --- arch/a

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

2017-05-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 V16 08/11] efi: print unrecognized CPER section

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

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

2017-05-15 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 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 <tbai...@codeaurora.org> CC: Jonathan (Zhixiong) Zhang <zjzh...@codeaurora.org> Reviewed-by: James Morse <james.mo...@arm.com> --- drivers/acp

[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 <tbai...@codeaurora.org> CC: Jonathan (Zhixiong) Zhang

[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 <tbai...@codeaurora.org> CC: Jonathan (Zhixiong) Zhang <zjzh...@codeaurora.org> --- drivers/firmware/efi

[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 <tbai...@codeaurora.org&

[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 <tbai...@codeaurora.org> Acked-by: Catalin Marinas <catalin.mari...@arm.c

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

2017-04-18 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> Acked-by: Catalin Marinas <catalin.mari...@arm.com> --- arch/a

[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 <tbai...@codeaurora.org> CC: Jonathan (Zhixiong) Zhang

[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 <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 V15 08/11] efi: print unrecognized CPER section

2017-04-18 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 V15 07/11] acpi: apei: panic OS with fatal error status block

2017-04-18 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 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 <tbai...@codeaurora.org> CC: Jonathan (Zhixiong) Zhang <zjzh...@codeaurora.org> Reviewed-by: James Morse <jame

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

2017-04-18 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 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 <tbai...@codeaurora.org> CC: Jonathan (Zhixiong) Zhang <zjzh...@codeaurora.org&

[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 <tbai...@codeaurora.org&

[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 <tbai...@codeaurora.org> CC: Jonathan (Zhixiong) Zhang <zjzh...@codeaurora.org> Reviewed-by: James Morse <james.mo...@arm.com> --- drivers/acp

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

2017-04-18 Thread Tyler Baicar
/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 data v3 structure cper: add times

[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 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 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 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 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 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 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 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 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 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 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 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 <tbai...@codeaurora.org> --- arch/arm/include/asm/kvm_arm.h | 10 ++ arch/arm/inclu

[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 <tbai...@codeaurora.org> CC: Jonathan (Zhixiong) Zhang

[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

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

2017-03-06 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 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 <tbai...@codeaurora.org> CC: Jo

[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 <tbai...@codeaurora.org&

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

2017-03-06 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 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 <tbai...@codeaurora.org> CC: Jonathan (Zhixiong) Zhang <zjzh...@codeaurora.org> Reviewed-by: James Morse <james.mo...@arm.com> --- drivers/acp

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

  1   2   >