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

2017-02-21 Thread Russell King - ARM Linux
On Tue, Feb 21, 2017 at 07:10:11PM +, James Morse wrote: > Hi Tyler, > > On 15/02/17 19:51, Tyler Baicar wrote: > > + } else { > > + const void *unknown_err; > > + > > + unknown_err = acpi_hest_generic_data_payload(gdata); > > + printk("%ssection type: %pUl\n",

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

2017-02-21 Thread Joe Perches
On Tue, 2017-02-21 at 12:39 -0700, Baicar, Tyler wrote: > On 2/21/2017 12:10 PM, James Morse wrote: > > Nit: please use the "%s""section... that this file consistently uses. This > > means > > this code will still work as expected when someone adds '%ss' support to > > printk! Huh? How would

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

2017-02-21 Thread Tyler Baicar
ARM APEI extension proposal added SEA (Synchronous External Abort) notification type for ARMv8. Add a new GHES error source handling function for SEA. If an error source's notification type is SEA, then this function can be registered into the SEA exception handler. That way GHES will parse and

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

2017-02-21 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 V11 09/10] trace, ras: add ARM processor error trace event

2017-02-21 Thread Tyler Baicar
Currently there are trace events for the various RAS errors with the exception of ARM processor type errors. Add a new trace event for such errors so that the user will know when they occur. These trace events are consistent with the ARM processor error section type defined in UEFI 2.6 spec

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

2017-02-21 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 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 +

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

2017-02-21 Thread Tyler Baicar
A RAS (Reliability, Availability, Serviceability) controller may be a separate processor running in parallel with OS execution, and may generate error records for consumption by the OS. If the RAS controller produces multiple error records, then they may be overwritten before the OS has consumed

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

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

2017-02-21 Thread Tyler Baicar
SEA exceptions are often caused by an uncorrected hardware error, and are handled when data abort and instruction abort exception classes have specific values for their Fault Status Code. When SEA occurs, before killing the process, report the error in the kernel logs. Update fault_info[] with

[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

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

2017-02-21 Thread Tyler Baicar
When a memory error, CPU error, PCIe error, or other type of hardware error that's covered by RAS occurs, firmware should populate the shared GHES memory location with the proper GHES structures to notify the OS of the error. For example, platforms that implement firmware first handling may

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

2017-02-21 Thread Baicar, Tyler
Hello James, On 2/21/2017 12:10 PM, James Morse wrote: Hi Tyler, On 15/02/17 19:51, Tyler Baicar wrote: 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

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

2017-02-21 Thread James Morse
Hi Tyler, On 15/02/17 19:51, Tyler Baicar wrote: > 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

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

2017-02-21 Thread Baicar, Tyler
Hello Ard, On 2/16/2017 11:32 AM, Ard Biesheuvel wrote: On 15 February 2017 at 19:51, Tyler Baicar wrote: ARM APEI extension proposal added SEA (Synchronous External Abort) notification type for ARMv8. Add a new GHES error source handling function for SEA. If an error

Re: [PATCH v2 2/5] KVM: arm/arm64: Add ARM user space interrupt signaling ABI

2017-02-21 Thread Christoffer Dall
Hi Alex, On Fri, Feb 03, 2017 at 05:51:18PM +, Peter Maydell wrote: > On 3 February 2017 at 14:56, Christoffer Dall wrote: > > From: Christoffer Dall > > > > We have 2 modes for dealing with interrupts in the ARM world. We can > > either handle