KVM: arm64: Log an error if trapping a write-to-read-only GICv3 access
authorMarc Zyngier <marc.zyngier@arm.com>
Fri, 9 Jun 2017 11:49:56 +0000 (12:49 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Thu, 15 Jun 2017 08:45:07 +0000 (09:45 +0100)
commit7b1dba1f7325629427c0e5bdf014159b229d16c8
treeebc647bc897765a24c1f9d7d5d4dbb98fb728f87
parente7f1d1eef482150a64a6e6ad8faf40f8f97eed67
KVM: arm64: Log an error if trapping a write-to-read-only GICv3 access

A write-to-read-only GICv3 access should UNDEF at EL1. But since
we're in complete paranoia-land with broken CPUs, let's assume the
worse and gracefully handle the case.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Reviewed-by: Christoffer Dall <cdall@linaro.org>
Signed-off-by: Christoffer Dall <cdall@linaro.org>
arch/arm64/kvm/sys_regs.c
virt/kvm/arm/hyp/vgic-v3-sr.c