]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5eddaae2c3f8350c9dc6213d5ff8f7616b09d592
tree1afa6545f2e297504d5b260ab1f107f2da2fcea0
parentc62b7d152fad49a0c5be955f5ac8af47f0fbeb85
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