]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commitc9a3c58f01fb0af78b512ab4515d16f3ef1a03f1
tree61fdf69d3f5f570f1cc9355be524afc7d6fa9ac8
parentf242adaf0c7e8376e9f54ffd6ef088df84577893
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