diff options
author | Marc Zyngier <maz@kernel.org> | 2023-03-30 20:47:57 +0300 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2023-03-30 21:01:10 +0300 |
commit | 81dc9504a7006b484cfcf074796094ee526b0c45 (patch) | |
tree | c37c08f09c10a94f729d72457c43172fc287b3de /include/crypto/pcrypt.h | |
parent | 1e0eec09d43a55125ff80e40b2d6e2f369a338b9 (diff) | |
download | linux-81dc9504a7006b484cfcf074796094ee526b0c45.tar.xz |
KVM: arm64: nv: timers: Support hyp timer emulation
Emulating EL2 also means emulating the EL2 timers. To do so, we expand
our timer framework to deal with at most 4 timers. At any given time,
two timers are using the HW timers, and the two others are purely
emulated.
The role of deciding which is which at any given time is left to a
mapping function which is called every time we need to make such a
decision.
Reviewed-by: Colton Lewis <coltonlewis@google.com>
Co-developed-by: Christoffer Dall <christoffer.dall@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20230330174800.2677007-18-maz@kernel.org
Diffstat (limited to 'include/crypto/pcrypt.h')
0 files changed, 0 insertions, 0 deletions