]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: KVM: PMU: Inject UNDEF on read access to PMSWINC_EL0
authorMarc Zyngier <marc.zyngier@arm.com>
Mon, 27 Mar 2017 16:03:41 +0000 (17:03 +0100)
committerChristoffer Dall <cdall@linaro.org>
Sun, 9 Apr 2017 14:49:14 +0000 (07:49 -0700)
commit858d6ab6c9a4895ad16d38ddcab7b8f6f2156572
tree1ead31012b0df480add2bed9be469dade53b1df2
parent0695ac3e1c68cb6d2715a1bf9653edf7624d0c1f
arm64: KVM: PMU: Inject UNDEF on read access to PMSWINC_EL0

PMSWINC_EL0 is a WO register, so let's UNDEF when reading from it
(in the highly hypothetical case where this doesn't UNDEF at EL1).

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