]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
acpi: apei: handle SEA notification type for ARMv8
authorTyler Baicar <tbaicar@codeaurora.org>
Wed, 21 Jun 2017 18:17:09 +0000 (12:17 -0600)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 9 Aug 2017 14:23:24 +0000 (16:23 +0200)
commitc46c9a740f4967d401182db0758d0c1fce1b5d35
tree2678c46cfbdd7c592690f357a25110e8dbacad50
parenta9bfe61a7d65c720bf125a68e960d3e025d15be2
acpi: apei: handle SEA notification type for ARMv8

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().

BugLink: http://launchpad.net/bugs/1696570
Signed-off-by: Tyler Baicar <tbaicar@codeaurora.org>
CC: Jonathan (Zhixiong) Zhang <zjzhang@codeaurora.org>
Reviewed-by: James Morse <james.morse@arm.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
(cherry picked from commit 7edda0886bc3d1e5418951558a2555af1bc73b0a)
Signed-off-by: Manoj Iyer <manoj.iyer@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
arch/arm64/Kconfig
arch/arm64/mm/fault.c
drivers/acpi/apei/Kconfig
drivers/acpi/apei/ghes.c
include/acpi/ghes.h