From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Jones Subject: Re: [PATCH v4 20/40] KVM: arm/arm64: Remove leftover comment from kvm_vcpu_run_vhe Date: Wed, 21 Feb 2018 18:47:31 +0100 Message-ID: <20180221174731.mrykgulbdjesyz4m@kamzik.brq.redhat.com> References: <20180215210332.8648-1-christoffer.dall@linaro.org> <20180215210332.8648-21-christoffer.dall@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org, Marc Zyngier , kvmarm@lists.cs.columbia.edu, Yury Norov , linux-arm-kernel@lists.infradead.org, Dave Martin , Shih-Wei Li To: Christoffer Dall Return-path: Content-Disposition: inline In-Reply-To: <20180215210332.8648-21-christoffer.dall@linaro.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kvmarm-bounces@lists.cs.columbia.edu Sender: kvmarm-bounces@lists.cs.columbia.edu List-Id: kvm.vger.kernel.org On Thu, Feb 15, 2018 at 10:03:12PM +0100, Christoffer Dall wrote: > The comment only applied to SPE on non-VHE systems, so we simply remove > it. > > Suggested-by: Andrew Jones > Acked-by: Marc Zyngier > Signed-off-by: Christoffer Dall > --- > arch/arm64/kvm/hyp/switch.c | 4 ---- > 1 file changed, 4 deletions(-) > > diff --git a/arch/arm64/kvm/hyp/switch.c b/arch/arm64/kvm/hyp/switch.c > index 717c8f5c6be7..a99224996e33 100644 > --- a/arch/arm64/kvm/hyp/switch.c > +++ b/arch/arm64/kvm/hyp/switch.c > @@ -410,10 +410,6 @@ int kvm_vcpu_run_vhe(struct kvm_vcpu *vcpu) > __fpsimd_restore_state(&host_ctxt->gp_regs.fp_regs); > } > > - /* > - * This must come after restoring the host sysregs, since a non-VHE > - * system may enable SPE here and make use of the TTBRs. > - */ > __debug_switch_to_host(vcpu); > > return exit_code; > -- > 2.14.2 > Reviewed-by: Andrew Jones From mboxrd@z Thu Jan 1 00:00:00 1970 From: drjones@redhat.com (Andrew Jones) Date: Wed, 21 Feb 2018 18:47:31 +0100 Subject: [PATCH v4 20/40] KVM: arm/arm64: Remove leftover comment from kvm_vcpu_run_vhe In-Reply-To: <20180215210332.8648-21-christoffer.dall@linaro.org> References: <20180215210332.8648-1-christoffer.dall@linaro.org> <20180215210332.8648-21-christoffer.dall@linaro.org> Message-ID: <20180221174731.mrykgulbdjesyz4m@kamzik.brq.redhat.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Thu, Feb 15, 2018 at 10:03:12PM +0100, Christoffer Dall wrote: > The comment only applied to SPE on non-VHE systems, so we simply remove > it. > > Suggested-by: Andrew Jones > Acked-by: Marc Zyngier > Signed-off-by: Christoffer Dall > --- > arch/arm64/kvm/hyp/switch.c | 4 ---- > 1 file changed, 4 deletions(-) > > diff --git a/arch/arm64/kvm/hyp/switch.c b/arch/arm64/kvm/hyp/switch.c > index 717c8f5c6be7..a99224996e33 100644 > --- a/arch/arm64/kvm/hyp/switch.c > +++ b/arch/arm64/kvm/hyp/switch.c > @@ -410,10 +410,6 @@ int kvm_vcpu_run_vhe(struct kvm_vcpu *vcpu) > __fpsimd_restore_state(&host_ctxt->gp_regs.fp_regs); > } > > - /* > - * This must come after restoring the host sysregs, since a non-VHE > - * system may enable SPE here and make use of the TTBRs. > - */ > __debug_switch_to_host(vcpu); > > return exit_code; > -- > 2.14.2 > Reviewed-by: Andrew Jones