[PATCH 0/3] KVM: arm64: timer fixes and optimisations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux