kvmarm.lists.cs.columbia.edu archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] KVM: arm/arm64: Fixes for scheudling htimer of emulated timers
@ 2020-02-17 14:54 Tomasz Nowicki
  2020-02-17 14:54 ` [PATCH 1/2] KVM: arm/arm64: Fix spurious htimer setup for emulated timer Tomasz Nowicki
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Tomasz Nowicki @ 2020-02-17 14:54 UTC (permalink / raw)
  To: kvmarm, linux-arm-kernel; +Cc: gkulkarni, kvm, maz, Tomasz Nowicki, rrichter

This small series contains two fixes which were found while testing
Marc's ARM NV patch set, where we are going to have at most 4 timers
and the two are purely emulated.

First patch cancels hrtimer when the timer should fire and there is no
change in irq line level which suppresses timer interrupt storm when
guest enables interrupts.

Second patch makes sure that hrtimer is scheduled when timer irq line
goes down and there is still some time to expire.

Tomasz Nowicki (2):
  KVM: arm/arm64: Fix spurious htimer setup for emulated timer
  KVM: arm/arm64: Fix htimer setup for emulated timer when irq goes down

 virt/kvm/arm/arch_timer.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

-- 
2.17.1

_______________________________________________
kvmarm mailing list
kvmarm@lists.cs.columbia.edu
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-02-17 18:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-17 14:54 [PATCH 0/2] KVM: arm/arm64: Fixes for scheudling htimer of emulated timers Tomasz Nowicki
2020-02-17 14:54 ` [PATCH 1/2] KVM: arm/arm64: Fix spurious htimer setup for emulated timer Tomasz Nowicki
2020-02-17 14:54 ` [PATCH 2/2] KVM: arm/arm64: Fix htimer setup for emulated timer when irq goes down Tomasz Nowicki
2020-02-17 18:00 ` [PATCH 0/2] KVM: arm/arm64: Fixes for scheudling htimer of emulated timers Marc Zyngier
2020-02-17 18:35   ` Tomasz Nowicki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).