arm64: Add workaround for Cavium Thunder erratum 30115
authorDavid Daney <david.daney@cavium.com>
Fri, 9 Jun 2017 11:49:48 +0000 (12:49 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Thu, 15 Jun 2017 08:45:04 +0000 (09:45 +0100)
commit690a341577f9adf2c275ababe0dcefe91898bbf0
tree1a39e66e7e4756444bdf8e7bc8b22cbc01095fe6
parente982276d8f5c974b838fb22ba8d592feb039a544
arm64: Add workaround for Cavium Thunder erratum 30115

Some Cavium Thunder CPUs suffer a problem where a KVM guest may
inadvertently cause the host kernel to quit receiving interrupts.

Use the Group-0/1 trapping in order to deal with it.

[maz]: Adapted patch to the Group-0/1 trapping, reworked commit log

Tested-by: Alexander Graf <agraf@suse.de>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: David Daney <david.daney@cavium.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <cdall@linaro.org>
Documentation/arm64/silicon-errata.txt
arch/arm64/Kconfig
arch/arm64/include/asm/cpucaps.h
arch/arm64/kernel/cpu_errata.c
virt/kvm/arm/vgic/vgic-v3.c