Received: from eggs.gnu.org ([2001:4830:134:3::10]:40879) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gAEsw-000852-7t for qemu-devel@nongnu.org; Wed, 10 Oct 2018 09:50:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gAEss-0006Eo-4H for qemu-devel@nongnu.org; Wed, 10 Oct 2018 09:50:46 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:51666) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gAEsr-0006EF-Rq for qemu-devel@nongnu.org; Wed, 10 Oct 2018 09:50:42 -0400 Received: from pps.filterd (m0098393.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w9ADjwwt105249 for ; Wed, 10 Oct 2018 09:50:40 -0400 Received: from e36.co.us.ibm.com (e36.co.us.ibm.com [32.97.110.154]) by mx0a-001b2d01.pphosted.com with ESMTP id 2n1fmy015m-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 10 Oct 2018 09:50:40 -0400 Received: from localhost by e36.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 10 Oct 2018 07:50:38 -0600 References: <20181009175226.22138-1-akrowiak@linux.vnet.ibm.com> <20181009175226.22138-3-akrowiak@linux.vnet.ibm.com> <64e5b221-ad4d-059a-9647-57ddf7ab0d0d@de.ibm.com> <4cc8ddc1-afc7-a1b8-b301-22c1e1528ca6@redhat.com> From: Tony Krowiak Date: Wed, 10 Oct 2018 09:50:26 -0400 MIME-Version: 1.0 In-Reply-To: <4cc8ddc1-afc7-a1b8-b301-22c1e1528ca6@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Message-Id: <67469392-a91b-aaa4-cecd-ee74552e6437@linux.ibm.com> Subject: Re: [Qemu-devel] [PATCH v10 2/6] s390x/cpumodel: Set up CPU model for AP device support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: David Hildenbrand , Christian Borntraeger , Tony Krowiak , qemu-devel@nongnu.org Cc: qemu-s390x@nongnu.org, schwidefsky@de.ibm.com, heiko.carstens@de.ibm.com, cohuck@redhat.com, bjsdjshi@linux.vnet.ibm.com, pmorel@linux.vnet.ibm.com, alifm@linux.vnet.ibm.com, mjrosato@linux.vnet.ibm.com, jjherne@linux.vnet.ibm.com, pasic@linux.vnet.ibm.com, eskultet@redhat.com, berrange@redhat.com, alex.williamson@redhat.com, eric.auger@redhat.com, pbonzini@redhat.com, peter.maydell@linaro.org, agraf@suse.de, rth@twiddle.net, fiuczy@linux.ibm.com, mimu@linux.ibm.com On 10/09/2018 03:48 PM, David Hildenbrand wrote: > On 09/10/2018 21:14, Christian Borntraeger wrote: >> >> >> On 10/09/2018 07:52 PM, Tony Krowiak wrote: >>> A new CPU model feature and two new CPU model facilities are >>> introduced to support AP devices for a KVM guest. >>> >>> CPU model features: >>> >>> 1. The S390_FEAT_AP CPU model feature indicates whether AP >>> instructions are available to the guest. This feature will >>> be enabled only if the AP instructions are available on the >>> linux host as determined by the availability of the >>> KVM_S390_VM_CRYPTO_ENABLE_APIE VM attribute which is exposed >>> by KVM only if the AP instructions are available on the >>> host. >>> >>> This feature must be turned on from userspace to execute AP >>> instructions on the KVM guest. The QEMU command line to turn >>> this feature on looks something like this: >>> >>> qemu-system-s390x ... -cpu xxx,ap=on ... >>> >>> This feature will be supported for zEC12 and newer CPU models. >>> The feature will not be supported for older models because >>> there are few older systems on which to test and the older >>> crypto cards will be going out of service in the relatively >>> near future. >>> >>> CPU model facilities: >>> >>> 1. The S390_FEAT_AP_QUERY_CONFIG_INFO feature indicates whether the >>> AP Query Configuration Information (QCI) facility is available >>> to the guest as determined by whether the facility is available >>> on the host. This feature will be exposed by KVM only if the >>> QCI facility is installed on the host. >>> >>> 2. The S390_FEAT_AP_FACILITY_TEST feature indicates whether the AP >>> Facility Test (APFT) facility is available to the guest as >>> determined by whether the facility is available on the host. >>> This feature will be exposed by KVM only if APFT is installed >>> on the host. >>> >>> Signed-off-by: Tony Krowiak >>> Tested-by: Pierre Morel >> >> >> Reviewed-by: Christian Borntraeger >> >> and as you have moved the one hunk, Davids RB should still count. > > Indeed > > Reviewed-by: David Hildenbrand Got it. > >