diff options
author | Christoffer Dall <christoffer.dall@arm.com> | 2019-01-04 15:31:22 +0300 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2019-02-20 00:05:43 +0300 |
commit | bee038a67487598ebbe995f85bf60c3a5b2e9099 (patch) | |
tree | c0756ab3d7bc4822adff585a482c940135f4db6e /arch/arm64/include/asm | |
parent | 9e01dc76be6a3b5768cb02130d2ff0055a68809a (diff) | |
download | linux-bee038a67487598ebbe995f85bf60c3a5b2e9099.tar.xz |
KVM: arm/arm64: Rework the timer code to use a timer_map
We are currently emulating two timers in two different ways. When we
add support for nested virtualization in the future, we are going to be
emulating either two timers in two diffferent ways, or four timers in a
single way.
We need a unified data structure to keep track of how we map virtual
state to physical state and we need to cleanup some of the timer code to
operate more independently on a struct arch_timer_context instead of
trying to consider the global state of the VCPU and recomputing all
state.
Co-written with Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@arm.com>
Diffstat (limited to 'arch/arm64/include/asm')
0 files changed, 0 insertions, 0 deletions