From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Jones Subject: Re: [PATCH v5 19/20] KVM: arm/arm64: Get rid of kvm_timer_flush_hwstate Date: Mon, 27 Nov 2017 17:50:12 +0100 Message-ID: <20171127165012.2egz3dos6h4zj7ub@kamzik.brq.redhat.com> References: <1509093281-15225-1-git-send-email-cdall@linaro.org> <1509093281-15225-20-git-send-email-cdall@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, Marc Zyngier , Eric Auger , kvm@vger.kernel.org, Catalin Marinas , Will Deacon To: Christoffer Dall Return-path: Received: from mx1.redhat.com ([209.132.183.28]:42826 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752797AbdK0QuT (ORCPT ); Mon, 27 Nov 2017 11:50:19 -0500 Content-Disposition: inline In-Reply-To: <1509093281-15225-20-git-send-email-cdall@linaro.org> Sender: kvm-owner@vger.kernel.org List-ID: On Fri, Oct 27, 2017 at 10:34:40AM +0200, Christoffer Dall wrote: > diff --git a/virt/kvm/arm/arm.c b/virt/kvm/arm/arm.c > index 132d39a..14c50d1 100644 > --- a/virt/kvm/arm/arm.c > +++ b/virt/kvm/arm/arm.c > @@ -656,7 +656,6 @@ int kvm_arch_vcpu_ioctl_run(struct kvm_vcpu *vcpu, struct kvm_run *run) > > local_irq_disable(); > > - kvm_timer_flush_hwstate(vcpu); > kvm_vgic_flush_hwstate(vcpu); > > /* > -- > 2.7.4 Hi Christoffer, I realize this is already merged, but I have a question about the above hunk. IIUC, the patch "KVM: arm/arm64: Move timer/vgic flush/sync under disabled irq" only moved kvm_vgic_flush_hwstate() under disabled irq because it had to be run after kvm_timer_flush_hwstate(). Now that kvm_timer_flush_hwstate() is gone can/should it be moved back out? Thanks, drew From mboxrd@z Thu Jan 1 00:00:00 1970 From: drjones@redhat.com (Andrew Jones) Date: Mon, 27 Nov 2017 17:50:12 +0100 Subject: [PATCH v5 19/20] KVM: arm/arm64: Get rid of kvm_timer_flush_hwstate In-Reply-To: <1509093281-15225-20-git-send-email-cdall@linaro.org> References: <1509093281-15225-1-git-send-email-cdall@linaro.org> <1509093281-15225-20-git-send-email-cdall@linaro.org> Message-ID: <20171127165012.2egz3dos6h4zj7ub@kamzik.brq.redhat.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Fri, Oct 27, 2017 at 10:34:40AM +0200, Christoffer Dall wrote: > diff --git a/virt/kvm/arm/arm.c b/virt/kvm/arm/arm.c > index 132d39a..14c50d1 100644 > --- a/virt/kvm/arm/arm.c > +++ b/virt/kvm/arm/arm.c > @@ -656,7 +656,6 @@ int kvm_arch_vcpu_ioctl_run(struct kvm_vcpu *vcpu, struct kvm_run *run) > > local_irq_disable(); > > - kvm_timer_flush_hwstate(vcpu); > kvm_vgic_flush_hwstate(vcpu); > > /* > -- > 2.7.4 Hi Christoffer, I realize this is already merged, but I have a question about the above hunk. IIUC, the patch "KVM: arm/arm64: Move timer/vgic flush/sync under disabled irq" only moved kvm_vgic_flush_hwstate() under disabled irq because it had to be run after kvm_timer_flush_hwstate(). Now that kvm_timer_flush_hwstate() is gone can/should it be moved back out? Thanks, drew