diff options
author | Marc Zyngier <maz@kernel.org> | 2019-06-28 17:23:43 +0300 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2020-07-07 11:28:38 +0300 |
commit | 41ce82f63c0624556b94b90551e4f70a0c913879 (patch) | |
tree | 3ae626e6158a6da3417b80f3d59a8679257f70e9 /arch/arm64/include/asm/kvm_host.h | |
parent | 3c5ff0c60f2febb170bc4096d4b8a8390ebb0bad (diff) | |
download | linux-41ce82f63c0624556b94b90551e4f70a0c913879.tar.xz |
KVM: arm64: timers: Move timer registers to the sys_regs file
Move the timer gsisters to the sysreg file. This will further help when
they are directly changed by a nesting hypervisor in the VNCR page.
This requires moving the initialisation of the timer struct so that some
of the helpers (such as arch_timer_ctx_index) can work correctly at an
early stage.
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'arch/arm64/include/asm/kvm_host.h')
-rw-r--r-- | arch/arm64/include/asm/kvm_host.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/kvm_host.h b/arch/arm64/include/asm/kvm_host.h index 91b1adb6789c..e1a32c0707bb 100644 --- a/arch/arm64/include/asm/kvm_host.h +++ b/arch/arm64/include/asm/kvm_host.h @@ -189,6 +189,12 @@ enum vcpu_sysreg { SP_EL1, SPSR_EL1, + CNTVOFF_EL2, + CNTV_CVAL_EL0, + CNTV_CTL_EL0, + CNTP_CVAL_EL0, + CNTP_CTL_EL0, + /* 32bit specific registers. Keep them at the end of the range */ DACR32_EL2, /* Domain Access Control Register */ IFSR32_EL2, /* Instruction Fault Status Register */ |