From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoffer Dall Subject: Re: [PATCH 9/9] arm/arm64: KVM: arch timer: Reset CNTV_CTL to 0 Date: Mon, 31 Aug 2015 10:57:52 +0200 Message-ID: <20150831085752.GH24113@cbox> References: <1440942866-23802-1-git-send-email-christoffer.dall@linaro.org> <1440942866-23802-10-git-send-email-christoffer.dall@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "kvmarm@lists.cs.columbia.edu" , "linux-arm-kernel@lists.infradead.org" , KVM devel mailing list , Laszlo Ersek , Drew Jones , Wei Huang , Peter Maydell To: Ard Biesheuvel Return-path: Received: from mail-lb0-f174.google.com ([209.85.217.174]:36065 "EHLO mail-lb0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751898AbbHaI4b (ORCPT ); Mon, 31 Aug 2015 04:56:31 -0400 Received: by lbvd4 with SMTP id d4so20490461lbv.3 for ; Mon, 31 Aug 2015 01:56:29 -0700 (PDT) Content-Disposition: inline In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On Mon, Aug 31, 2015 at 10:46:59AM +0200, Ard Biesheuvel wrote: > On 30 August 2015 at 15:54, Christoffer Dall > wrote: > > Provide a better quality of implementation and be architecture compliant > > on ARMv7 for the architected timer by resetting the CNTV_CTL to 0 on > > reset of the timer, and call kvm_timer_update_state(vcpu) at the same > > time, ensuring the timer output is not asserted after, for example, a > > PSCI system reset. > > > > This change alone fixes the UEFI reset issue reported by Laszlo back in > > February. > > > > Do you have a link to that report? I can't quite remember the details ... > There was no public mailing list cc'ed on the report, and the bugzilla bug was created in a non-public Red Hat instance. But you were cc'ed on the original mail from Laszlo. Look for an e-mail from February 5th with the subject "virtual timer interrupt stuck across guest firmware reboot on KVM". -Christoffer