[PATCH RFC 1/4] ACPI/AEST: Initial AEST driver

2019-07-02 Thread Tyler Baicar OS
Add support for parsing the ARM Error Source Table and basic handling of errors reported through both memory mapped and system register interfaces. Signed-off-by: Tyler Baicar --- arch/arm64/include/asm/ras.h | 41 + arch/arm64/kernel/Makefile | 2 +- arch/arm64/kernel/ras.c | 67

[PATCH RFC 2/4] arm64: mm: Add RAS extension system register check to SEA handling

2019-07-02 Thread Tyler Baicar OS
On systems that support the ARM RAS extension, synchronous external abort syndrome information could be captured in the core's RAS extension system registers. So, when handling SEAs check the RAS system registers for error syndrome information. Signed-off-by: Tyler Baicar --- arch/arm64/mm/fault

[PATCH RFC 3/4] arm64: traps: Add RAS extension system register check to serror handling

2019-07-02 Thread Tyler Baicar OS
On systems that support the ARM RAS extension, serror interrupt syndrome information could be captured in the core's RAS extension system registers. When handling serrors, check the RAS system registers for error syndrome information. Signed-off-by: Tyler Baicar --- arch/arm64/kernel/traps.c | 3

[PATCH RFC 4/4] trace, ras: add ARM RAS extension trace event

2019-07-02 Thread Tyler Baicar OS
Add a trace event for hardware errors reported by the ARMv8.2 RAS extension registers. Signed-off-by: Tyler Baicar --- arch/arm64/kernel/ras.c | 3 +++ drivers/acpi/arm64/aest.c | 4 include/ras/ras_event.h | 46 ++ 3 files changed, 53 inser

[PATCH RFC 0/4] ARM Error Source Table Support

2019-07-02 Thread Tyler Baicar OS
This series adds support for the ARM Error Source Table (AEST) based on the latest version of the AEST from ARM [0]. The AEST driver supports both memory mapped and system register interfaces. This series assumes system register interfaces are only registered with private peripheral interrupts (PP

Re: [PATCH RFC 1/4] ACPI/AEST: Initial AEST driver

2019-07-03 Thread Tyler Baicar OS
Hello Andrew, Thank you for the feedback! On Wed, Jul 3, 2019 at 5:26 AM Andrew Murray wrote: > > On Tue, Jul 02, 2019 at 04:51:38PM +, Tyler Baicar OS wrote: > > Add support for parsing the ARM Error Source Table and basic handling of > > errors reported through both

Re: [PATCH RFC 1/4] ACPI/AEST: Initial AEST driver

2019-07-09 Thread Tyler Baicar OS
Hello Shiju, Thank you for the feedback! On Thu, Jul 4, 2019 at 12:03 PM Shiju Jose wrote: > >+struct ras_ext_regs { > >+ u64 err_fr; > >+ u64 err_ctlr; > >+ u64 err_status; > >+ u64 err_addr; > >+ u64 err_misc0; > >+ u64 err_misc1; > >+ u64 err_misc2; > >+

Re: [PATCH RFC 2/4] arm64: mm: Add RAS extension system register check to SEA handling

2019-07-09 Thread Tyler Baicar OS
On Mon, Jul 8, 2019 at 10:10 AM James Morse wrote: > On 02/07/2019 17:51, Tyler Baicar OS wrote: > > On systems that support the ARM RAS extension, synchronous external > > abort syndrome information could be captured in the core's RAS extension > > system registers. So

Re: [PATCH RFC 2/4] arm64: mm: Add RAS extension system register check to SEA handling

2019-07-10 Thread Tyler Baicar OS
Hi James, Mark, On Tue, Jul 9, 2019 at 8:52 PM Tyler Baicar OS wrote: > On Mon, Jul 8, 2019 at 10:10 AM James Morse wrote: > > On 02/07/2019 17:51, Tyler Baicar OS wrote: > > > @@ -632,6 +633,8 @@ static int do_sea(unsigned long addr, unsigned int > > >