]> git.proxmox.com Git - mirror_ubuntu-artful-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)
commite04432301607a6750e31d7db4cc4dfdd742ee7f8
tree1ead31012b0df480add2bed9be469dade53b1df2
parent7b5b4df1a79954e0b208630fc63b16ec0231a516
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