diff options
author | Marc Zyngier <[email protected]> | 2023-03-30 18:47:56 +0100 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2023-03-30 19:01:10 +0100 |
commit | 1e0eec09d43a55125ff80e40b2d6e2f369a338b9 (patch) | |
tree | 2a359e5a80f73aec8a9fad6d30f7851fc5ade982 /arch/arm64/kvm/trace_arm.h | |
parent | 1935d34afaebe01ddb75bfaa62fb7fe957ddc210 (diff) |
KVM: arm64: nv: timers: Add a per-timer, per-vcpu offset
Being able to set a global offset isn't enough.
With NV, we also need to a per-vcpu, per-timer offset (for example,
CNTVCT_EL0 being offset by CNTVOFF_EL2).
Use a similar method as the VM-wide offset to have a timer point
to the shadow register that contains the offset value.
Reviewed-by: Colton Lewis <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'arch/arm64/kvm/trace_arm.h')
0 files changed, 0 insertions, 0 deletions