KVM: arm64: timer fixes and optimisations
Status from this message: Applied to kvmarm/next, thanks!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | KVM: arm64: Don't arm a hrtimer for an already pending timerarch/ | +1 | 0 replies | |
| 2/3 | KVM: arm64: Reduce overhead of trapped timer sysreg accessesarch/ | +48 | 0 replies | |
| 3/3 | KVM: arm64: timers: Don't BUG() on unhandled timer traparch/ | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] KVM: arm64: timer fixes and optimisations
Having been busy on the NV front the past few weeks, I collected a small set of fixes/improvements that make sense even outside of NV.
The first one is an interesting fix (actually a regression introduced by the initial set of NV-related patches) reported by Scott and Ganapatrao, where we fail to recognise that a timer that has fired doesn't need to fire again. And again.
The second patch is a definite performance improvement on nVHE systems when accessing the emulated physical timer. It also makes NV bearable in some conditions (with FEAT_ECV, for example).
The last patch is more of a sanity check. There is no reason to BUG() if we can avoid it at all and kill the guest instead!
These patches are 6.3 candidates, although the first one could be a 6.2 fix.
M.
Marc Zyngier (3):
KVM: arm64: Don't arm a hrtimer for an already pending timer
KVM: arm64: Reduce overhead of trapped timer sysreg accesses
KVM: arm64: timers: Don't BUG() on unhandled timer trap
arch/arm64/kvm/arch_timer.c | 77 +++++++++++++++++++++++-------------- arch/arm64/kvm/sys_regs.c | 4 +- 2 files changed, 52 insertions(+), 29 deletions(-)