linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] arm/arm64: KVM: arch timer boot fixes
@ 2015-10-17 20:30 Christoffer Dall
  2015-10-17 20:30 ` [PATCH 1/3] arm/arm64: KVM: Fix arch timer behavior for disabled interrupts Christoffer Dall
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Christoffer Dall @ 2015-10-17 20:30 UTC (permalink / raw)
  To: linux-arm-kernel

This small series fixes a number of issues relating to the arch timer
switching to using the active state instead of the masking hack in v4.3.

The first patch fixes an issue where the guest doesn't proceed after
PSCI reboots, because the arch timer is screaming at the physical GIC.
The second patch fixes an issue where the guest gets stuck after calling
WFI during boot, because the timer never fires.  The third patch fixes
an issue that occasionally causes warnings when queueing interrupts
because the distributor and CPU interface state gets inconsistent.

I stole some of the code for patch 2 from Marc's initial patch looking
to solve the problem solved in patch 1 here.

This is going to conflict horribly with some of the stuff we have in
next at the moment, so assumning there are no objections to these
patches, I'll rework the stuff in next after adding these to our current
list of fixes.

Christoffer Dall (3):
  arm/arm64: KVM: Fix arch timer behavior for disabled interrupts
  arm/arm64: KVM: Clear map->active on pend/active clear
  arm/arm64: KVM: Fix disabled distributor operation

 virt/kvm/arm/arch_timer.c | 19 +++++++++++
 virt/kvm/arm/vgic.c       | 86 ++++++++++++++++++++++++++---------------------
 2 files changed, 67 insertions(+), 38 deletions(-)

-- 
2.1.2.330.g565301e.dirty

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

end of thread, other threads:[~2015-10-20 17:44 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-17 20:30 [PATCH 0/3] arm/arm64: KVM: arch timer boot fixes Christoffer Dall
2015-10-17 20:30 ` [PATCH 1/3] arm/arm64: KVM: Fix arch timer behavior for disabled interrupts Christoffer Dall
2015-10-17 21:50   ` Christoffer Dall
2015-10-19 13:07   ` Eric Auger
2015-10-19 13:14     ` Christoffer Dall
2015-10-19 13:27       ` Eric Auger
2015-10-19 13:38         ` Christoffer Dall
2015-10-17 20:30 ` [PATCH 2/3] arm/arm64: KVM: Clear map->active on pend/active clear Christoffer Dall
2015-10-19 15:32   ` Eric Auger
2015-10-19 15:39     ` Christoffer Dall
2015-10-19 15:45       ` Eric Auger
2015-10-17 20:30 ` [PATCH 3/3] arm/arm64: KVM: Fix disabled distributor operation Christoffer Dall
2015-10-20  9:08   ` Eric Auger
2015-10-20  9:44     ` Christoffer Dall
2015-10-20 17:44       ` Eric Auger

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