arm64: KVM: pmu: Fix AArch32 cycle counter access
authorWei Huang <wei@redhat.com>
Wed, 16 Nov 2016 09:20:57 +0000 (09:20 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Fri, 18 Nov 2016 09:02:04 +0000 (09:02 +0000)
commit9e3f7a29694049edd728e2400ab57ad7553e5aa9
tree1afa6545f2e297504d5b260ab1f107f2da2fcea0
parentd42c79701a3ee5c38fbbc82f98a140420bd40134
arm64: KVM: pmu: Fix AArch32 cycle counter access

We're missing the handling code for the cycle counter accessed
from a 32bit guest, leading to unexpected results.

Cc: stable@vger.kernel.org # 4.6+
Signed-off-by: Wei Huang <wei@redhat.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm64/kvm/sys_regs.c