]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: Log an error if trapping a read-from-write-only GICv3 access
authorMarc Zyngier <marc.zyngier@arm.com>
Fri, 9 Jun 2017 11:49:55 +0000 (12:49 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Thu, 15 Jun 2017 08:45:06 +0000 (09:45 +0100)
commitdf358d69f65c7fd3bfbdc2ab9049aa7d944d3500
tree775d0180010de525234429766897b116b09ef769
parentc37ec3f9ac410bd334fc45ee097641eee17bfe38
KVM: arm64: Log an error if trapping a read-from-write-only GICv3 access

A read-from-write-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