KVM: arm: Enable emulation of the physical timer
authorJérémy Fanguède <j.fanguede@virtualopensystems.com>
Tue, 13 Feb 2018 10:41:16 +0000 (11:41 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Mon, 26 Feb 2018 09:48:02 +0000 (10:48 +0100)
commitb9fb17395b956079e2c3961a310f6a961a7de6e6
tree266b288a3c0646e0427c9054a265fdbe6356947c
parenteac137b4a9d66d1ef2f1963b7c1dd6ab5ca57d4f
KVM: arm: Enable emulation of the physical timer

Set the handlers to emulate read and write operations for CNTP_CTL,
CNTP_CVAL and CNTP_TVAL registers in such a way that VMs can use the
physical timer.

Signed-off-by: Jérémy Fanguède <j.fanguede@virtualopensystems.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
arch/arm/kvm/coproc.c