From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marc Zyngier Subject: Re: [PATCH v4 02/40] KVM: arm/arm64: Move vcpu_load call after kvm_vcpu_first_run_init Date: Wed, 21 Feb 2018 11:05:54 +0000 Message-ID: <86h8qali0d.wl-marc.zyngier@arm.com> References: <20180215210332.8648-1-christoffer.dall@linaro.org> <20180215210332.8648-3-christoffer.dall@linaro.org> Mime-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: Andrew Jones , kvm@vger.kernel.org, Tomasz Nowicki , kvmarm@lists.cs.columbia.edu, Julien Grall , Yury Norov , linux-arm-kernel@lists.infradead.org, Dave Martin , Shih-Wei Li To: Christoffer Dall Return-path: In-Reply-To: <20180215210332.8648-3-christoffer.dall@linaro.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org List-Id: kvm.vger.kernel.org On Thu, 15 Feb 2018 21:02:54 +0000, Christoffer Dall wrote: > > Moving the call to vcpu_load() in kvm_arch_vcpu_ioctl_run() to after > we've called kvm_vcpu_first_run_init() simplifies some of the vgic and > there is also no need to do vcpu_load() for things such as handling the > immediate_exit flag. > > Reviewed-by: Julien Grall > Signed-off-by: Christoffer Dall Reviewed-by: Marc Zyngier M. -- Jazz is not dead, it just smell funny. From mboxrd@z Thu Jan 1 00:00:00 1970 From: marc.zyngier@arm.com (Marc Zyngier) Date: Wed, 21 Feb 2018 11:05:54 +0000 Subject: [PATCH v4 02/40] KVM: arm/arm64: Move vcpu_load call after kvm_vcpu_first_run_init In-Reply-To: <20180215210332.8648-3-christoffer.dall@linaro.org> References: <20180215210332.8648-1-christoffer.dall@linaro.org> <20180215210332.8648-3-christoffer.dall@linaro.org> Message-ID: <86h8qali0d.wl-marc.zyngier@arm.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Thu, 15 Feb 2018 21:02:54 +0000, Christoffer Dall wrote: > > Moving the call to vcpu_load() in kvm_arch_vcpu_ioctl_run() to after > we've called kvm_vcpu_first_run_init() simplifies some of the vgic and > there is also no need to do vcpu_load() for things such as handling the > immediate_exit flag. > > Reviewed-by: Julien Grall > Signed-off-by: Christoffer Dall Reviewed-by: Marc Zyngier M. -- Jazz is not dead, it just smell funny.