]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: Add the EL1 physical timer access handler
authorJintack Lim <jintack@cs.columbia.edu>
Fri, 3 Feb 2017 15:20:07 +0000 (10:20 -0500)
committerMarc Zyngier <marc.zyngier@arm.com>
Wed, 8 Feb 2017 15:13:36 +0000 (15:13 +0000)
commitbe817d74d9d1f92b3664374355f526a879114432
tree61fdf69d3f5f570f1cc9355be524afc7d6fa9ac8
parent06609354692d75010762939d4f2892ced2413e6e
KVM: arm64: Add the EL1 physical timer access handler

KVM traps on the EL1 phys timer accesses from VMs, but it doesn't handle
those traps. This results in terminating VMs. Instead, set a handler for
the EL1 phys timer access, and inject an undefined exception as an
intermediate step.

Signed-off-by: Jintack Lim <jintack@cs.columbia.edu>
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm64/kvm/sys_regs.c