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

From: Catalin Marinas
Date: Thu Mar 23 2017 - 13:55:58 EST


On Tue, Mar 21, 2017 at 04:47:00PM -0600, 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
> source's notification type is SEA, then this function can be registered
> into the SEA exception handler. That way GHES will parse and report
> SEA exceptions when they occur.
> An SEA can interrupt code that had interrupts masked and is treated as
> an NMI. To aid this the page of address space for mapping APEI buffers
> while in_nmi() is always reserved, and ghes_ioremap_pfn_nmi() is
> changed to use the helper methods to find the prot_t to map with in
> the same way as ghes_ioremap_pfn_irq().
>
> Signed-off-by: Tyler Baicar <tbaicar@xxxxxxxxxxxxxx>
> CC: Jonathan (Zhixiong) Zhang <zjzhang@xxxxxxxxxxxxxx>
> Reviewed-by: James Morse <james.morse@xxxxxxx>
> ---
> arch/arm64/Kconfig | 2 ++
> arch/arm64/mm/fault.c | 13 +++++++++
> drivers/acpi/apei/Kconfig | 15 ++++++++++
> drivers/acpi/apei/ghes.c | 70 +++++++++++++++++++++++++++++++++++++++++++----
> include/acpi/ghes.h | 7 +++++
> 5 files changed, 101 insertions(+), 6 deletions(-)

For the arch/arm64 part in here:

Acked-by: Catalin Marinas <catalin.marinas@xxxxxxx>