]> asedeno.scripts.mit.edu Git - linux.git/commit
KVM: arm/arm64: Support EL1 phys timer register access in set/get reg
authorChristoffer Dall <cdall@linaro.org>
Sat, 17 Jun 2017 06:08:57 +0000 (23:08 -0700)
committerChristoffer Dall <christoffer.dall@linaro.org>
Mon, 6 Nov 2017 15:23:14 +0000 (16:23 +0100)
commit5c5196da4e966cc23af6a1576ad2a9e45bed3f99
tree34a124e7ae93fde4f278e31e11e2b65309949f60
parentb103cc3f10c06fb81faacd4ee6f88bbd21246073
KVM: arm/arm64: Support EL1 phys timer register access in set/get reg

Add suport for the physical timer registers in kvm_arm_timer_set_reg and
kvm_arm_timer_get_reg so that these functions can be reused to interact
with the rest of the system.

Note that this paves part of the way for the physical timer state
save/restore, but we still need to add those registers to
KVM_GET_REG_LIST before we support migrating the physical timer state.

Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <cdall@linaro.org>
arch/arm/include/uapi/asm/kvm.h
arch/arm64/include/uapi/asm/kvm.h
virt/kvm/arm/arch_timer.c