From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Mon, 11 Dec 2017 13:16:15 +0100 (CET) Received: from mx1.redhat.com ([209.132.183.28]:36710 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S23990793AbdLKMQIVihk7 (ORCPT ); Mon, 11 Dec 2017 13:16:08 +0100 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id EF802356D8; Mon, 11 Dec 2017 12:16:01 +0000 (UTC) Received: from gondolin (ovpn-117-94.ams2.redhat.com [10.36.117.94]) by smtp.corp.redhat.com (Postfix) with ESMTP id E188F4DC3C; Mon, 11 Dec 2017 12:15:58 +0000 (UTC) Date: Mon, 11 Dec 2017 13:15:55 +0100 From: Cornelia Huck To: Christoffer Dall Cc: kvm@vger.kernel.org, Andrew Jones , Christoffer Dall , Paolo Bonzini , Radim =?UTF-8?B?S3LEjW3DocWZ?= , Marc Zyngier , kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org, James Hogan , linux-mips@linux-mips.org, Paul Mackerras , kvm-ppc@vger.kernel.org, Christian Borntraeger , linux-s390@vger.kernel.org Subject: Re: [PATCH v3 07/16] KVM: Move vcpu_load to arch-specific kvm_arch_vcpu_ioctl_set_sregs Message-ID: <20171211131555.7eae512e.cohuck@redhat.com> In-Reply-To: <20171204203538.8370-8-cdall@kernel.org> References: <20171204203538.8370-1-cdall@kernel.org> <20171204203538.8370-8-cdall@kernel.org> Organization: Red Hat GmbH MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Mon, 11 Dec 2017 12:16:02 +0000 (UTC) Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 61406 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: cohuck@redhat.com Precedence: bulk List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: linux-mips X-List-ID: linux-mips List-subscribe: List-owner: List-post: List-archive: X-list: linux-mips On Mon, 4 Dec 2017 21:35:29 +0100 Christoffer Dall wrote: > From: Christoffer Dall > > Move vcpu_load() and vcpu_put() into the architecture specific > implementations of kvm_arch_vcpu_ioctl_set_sregs(). > > Signed-off-by: Christoffer Dall > --- > arch/powerpc/kvm/book3s.c | 8 +++++++- > arch/powerpc/kvm/booke.c | 15 +++++++++++---- > arch/s390/kvm/kvm-s390.c | 4 ++++ > arch/x86/kvm/x86.c | 13 ++++++++++--- > virt/kvm/kvm_main.c | 2 -- > 5 files changed, 32 insertions(+), 10 deletions(-) With David's suggestions included: Reviewed-by: Cornelia Huck