From: Christoffer Dall <christoffer.dall@linaro.org> To: kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org Cc: Marc Zyngier <marc.zyngier@arm.com>, kvm@vger.kernel.org Subject: [PATCH 0/2] arm/arm64: KVM: Fix arthictected timer issues Date: Fri, 4 Sep 2015 16:24:37 +0200 [thread overview] Message-ID: <1441376679-8341-1-git-send-email-christoffer.dall@linaro.org> (raw) These two patches fix two separate issues with the architected timer and the corresponding interrupt injection to VMs on KVM/ARM. The first patch fixes an issue introduced with the active timer state switching series recently merged for v4.3, which could cause a guest to loop without progress if another VCPU is run on the same physical CPU and preempts the original VCPU while the guest is running the ISR for the timer interrupt. The second patch resets the architected timer's control register to zero on system reset, ensuring that interrupts are not injected when a system resets. This fixes a long-standing issue with UEFI, where soft reset initiated from within UEFI prevented the system from booting again. Christoffer Dall (2): arm/arm64: KVM: vgic: Move active state handling to flush_hwstate arm/arm64: KVM: arch timer: Reset CNTV_CTL to 0 virt/kvm/arm/arch_timer.c | 8 ++++++++ virt/kvm/arm/vgic.c | 42 ++++++++++++++++++++++++++---------------- 2 files changed, 34 insertions(+), 16 deletions(-) -- 2.1.2.330.g565301e.dirty
WARNING: multiple messages have this Message-ID (diff)
From: christoffer.dall@linaro.org (Christoffer Dall) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 0/2] arm/arm64: KVM: Fix arthictected timer issues Date: Fri, 4 Sep 2015 16:24:37 +0200 [thread overview] Message-ID: <1441376679-8341-1-git-send-email-christoffer.dall@linaro.org> (raw) These two patches fix two separate issues with the architected timer and the corresponding interrupt injection to VMs on KVM/ARM. The first patch fixes an issue introduced with the active timer state switching series recently merged for v4.3, which could cause a guest to loop without progress if another VCPU is run on the same physical CPU and preempts the original VCPU while the guest is running the ISR for the timer interrupt. The second patch resets the architected timer's control register to zero on system reset, ensuring that interrupts are not injected when a system resets. This fixes a long-standing issue with UEFI, where soft reset initiated from within UEFI prevented the system from booting again. Christoffer Dall (2): arm/arm64: KVM: vgic: Move active state handling to flush_hwstate arm/arm64: KVM: arch timer: Reset CNTV_CTL to 0 virt/kvm/arm/arch_timer.c | 8 ++++++++ virt/kvm/arm/vgic.c | 42 ++++++++++++++++++++++++++---------------- 2 files changed, 34 insertions(+), 16 deletions(-) -- 2.1.2.330.g565301e.dirty
next reply other threads:[~2015-09-04 14:24 UTC|newest] Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-09-04 14:24 Christoffer Dall [this message] 2015-09-04 14:24 ` [PATCH 0/2] arm/arm64: KVM: Fix arthictected timer issues Christoffer Dall 2015-09-04 14:24 ` [PATCH 1/2] arm/arm64: KVM: vgic: Move active state handling to flush_hwstate Christoffer Dall 2015-09-04 14:24 ` Christoffer Dall 2015-09-07 14:44 ` Eric Auger 2015-09-07 14:44 ` Eric Auger 2015-09-07 15:46 ` Eric Auger 2015-09-07 15:46 ` Eric Auger 2015-09-07 15:54 ` Marc Zyngier 2015-09-07 15:54 ` Marc Zyngier 2015-09-04 14:24 ` [PATCH 2/2] arm/arm64: KVM: arch timer: Reset CNTV_CTL to 0 Christoffer Dall 2015-09-04 14:24 ` Christoffer Dall 2015-09-04 14:47 ` Christoffer Dall 2015-09-04 14:47 ` Christoffer Dall 2015-09-04 14:51 ` Marc Zyngier 2015-09-04 14:51 ` Marc Zyngier 2015-09-04 15:35 ` [PATCH 0/2] arm/arm64: KVM: Fix arthictected timer issues Marc Zyngier 2015-09-04 15:35 ` Marc Zyngier 2015-09-04 15:53 ` Christoffer Dall 2015-09-04 15:53 ` Christoffer Dall
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1441376679-8341-1-git-send-email-christoffer.dall@linaro.org \ --to=christoffer.dall@linaro.org \ --cc=kvm@vger.kernel.org \ --cc=kvmarm@lists.cs.columbia.edu \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=marc.zyngier@arm.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.