From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cornelia Huck Subject: Re: [PATCH v2 7/9] KVM: improve arch vcpu request defining Date: Thu, 27 Apr 2017 14:11:02 +0200 Message-ID: <20170427141102.11b4f600.cornelia.huck@de.ibm.com> References: <20170426203227.12321-1-rkrcmar@redhat.com> <20170426203227.12321-8-rkrcmar@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org, Christoffer Dall , Andrew Jones , Marc Zyngier , Paolo Bonzini , Christian Borntraeger , James Hogan , Paul Mackerras To: Radim =?UTF-8?B?S3LEjW3DocWZ?= Return-path: Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:43378 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S968621AbdD0MLN (ORCPT ); Thu, 27 Apr 2017 08:11:13 -0400 Received: from pps.filterd (m0098409.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.20/8.16.0.20) with SMTP id v3RC8WPq107006 for ; Thu, 27 Apr 2017 08:11:12 -0400 Received: from e06smtp11.uk.ibm.com (e06smtp11.uk.ibm.com [195.75.94.107]) by mx0a-001b2d01.pphosted.com with ESMTP id 2a3f7mk7cx-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Thu, 27 Apr 2017 08:11:11 -0400 Received: from localhost by e06smtp11.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 27 Apr 2017 13:11:07 +0100 In-Reply-To: <20170426203227.12321-8-rkrcmar@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Wed, 26 Apr 2017 22:32:25 +0200 Radim Krčmář wrote: > From: Andrew Jones > > Marc Zyngier suggested that we define the arch specific VCPU request > base, rather than requiring each arch to remember to start from 8. > That suggestion, along with Radim Krčmář's recent VCPU request flag > addition, snowballed into defining something of an arch VCPU request > defining API. > > No functional change. > > (Looks like x86 is running out of arch VCPU request bits. Maybe > someday we'll need to extend to 64.) > > Signed-off-by: Andrew Jones > --- > arch/arm/include/asm/kvm_host.h | 2 +- > arch/arm64/include/asm/kvm_host.h | 2 +- > arch/powerpc/include/asm/kvm_host.h | 4 ++-- > arch/s390/include/asm/kvm_host.h | 6 ++--- > arch/x86/include/asm/kvm_host.h | 44 ++++++++++++++++++------------------- > include/linux/kvm_host.h | 8 +++++++ > 6 files changed, 37 insertions(+), 29 deletions(-) Reviewed-by: Cornelia Huck