]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdfa3d02b1989d9e4b6cb876718b2b033c553888c
treeebc647bc897765a24c1f9d7d5d4dbb98fb728f87
parenta44d5201be5771657e8cb36a1fa69d39186402a1
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