]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
arm/arm64: KVM: add guest SEA support
authorTyler Baicar <tbaicar@codeaurora.org>
Wed, 21 Jun 2017 18:17:14 +0000 (12:17 -0600)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 9 Aug 2017 14:23:27 +0000 (16:23 +0200)
commit6633b4576d781ca5999edb50348782ba472f4c5c
treee3ef4d9a481f83036794af9ec51de076142c98a4
parent04fa3b9edad5f26abcc79413e92a6c85e7762e58
arm/arm64: KVM: add guest SEA support

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.

When an SEA occurs in the guest kernel, the guest exits and is
routed to kvm_handle_guest_abort(). Prior to this patch, a print
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.

BugLink: https://launchpad.net/bugs/1696570
Signed-off-by: Tyler Baicar <tbaicar@codeaurora.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Acked-by: Christoffer Dall <cdall@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
(backported from commit 621f48e40ee9b0100a802531069166d7d94796e0)
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/arm/include/asm/kvm_arm.h
arch/arm/include/asm/system_misc.h
arch/arm/kvm/mmu.c
arch/arm64/include/asm/kvm_arm.h
arch/arm64/include/asm/system_misc.h
arch/arm64/mm/fault.c
drivers/acpi/apei/ghes.c
include/acpi/ghes.h