Received: from eggs.gnu.org ([2001:4830:134:3::10]:57338) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fAH7U-0003xB-V3 for qemu-devel@nongnu.org; Sun, 22 Apr 2018 11:41:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fAH7R-0000cj-10 for qemu-devel@nongnu.org; Sun, 22 Apr 2018 11:41:40 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:54080 helo=mx0a-001b2d01.pphosted.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fAH7Q-0000cB-RW for qemu-devel@nongnu.org; Sun, 22 Apr 2018 11:41:36 -0400 Received: from pps.filterd (m0098417.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w3MFcWxc007711 for ; Sun, 22 Apr 2018 11:41:36 -0400 Received: from e19.ny.us.ibm.com (e19.ny.us.ibm.com [129.33.205.209]) by mx0a-001b2d01.pphosted.com with ESMTP id 2hgk2dqkhp-1 (version=TLSv1.2 cipher=AES256-SHA256 bits=256 verify=NOT) for ; Sun, 22 Apr 2018 11:41:35 -0400 Received: from localhost by e19.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Sun, 22 Apr 2018 11:41:35 -0400 References: <1523819244-29954-1-git-send-email-akrowiak@linux.vnet.ibm.com> <1523819244-29954-4-git-send-email-akrowiak@linux.vnet.ibm.com> <1808b8f3-9cff-c849-d012-b23f29d1c11f@redhat.com> <354ba31f-7502-b873-e254-fe3dbfc07b54@de.ibm.com> <20180418094029.14b64108.cohuck@redhat.com> <9a0e71af-24cf-9674-e634-fdb3bf180d95@redhat.com> From: Tony Krowiak Date: Sun, 22 Apr 2018 11:41:27 -0400 MIME-Version: 1.0 In-Reply-To: <9a0e71af-24cf-9674-e634-fdb3bf180d95@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Message-Id: <2392354e-3843-498d-cec0-c812d45290b2@linux.vnet.ibm.com> Subject: Re: [Qemu-devel] [PATCH v4 3/5] 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 , Cornelia Huck , Christian Borntraeger Cc: qemu-devel@nongnu.org, qemu-s390x@nongnu.org, schwidefsky@de.ibm.com, heiko.carstens@de.ibm.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 On 04/18/2018 04:59 AM, David Hildenbrand wrote: > On 18.04.2018 09:40, Cornelia Huck wrote: >> On Tue, 17 Apr 2018 20:21:31 +0200 >> Christian Borntraeger wrote: >> >>> On 04/16/2018 05:44 PM, David Hildenbrand wrote: >>>> >>>>> >>>>> diff --git a/target/s390x/gen-features.c b/target/s390x/gen-features.c >>>>> index 0cdbc15..0d5b0f7 100644 >>>>> --- a/target/s390x/gen-features.c >>>>> +++ b/target/s390x/gen-features.c >>>>> @@ -447,6 +447,9 @@ static uint16_t full_GEN12_GA1[] = { >>>>> S390_FEAT_ADAPTER_INT_SUPPRESSION, >>>>> S390_FEAT_EDAT_2, >>>>> S390_FEAT_SIDE_EFFECT_ACCESS_ESOP2, >>>>> + S390_FEAT_AP_QUERY_CONFIG_INFO, >>>>> + S390_FEAT_AP_FACILITIES_TEST, >>>>> + S390_FEAT_AP, >>>>> }; >>>>> >>>> Now I have to ask a very stupid question: >>>> >>>> I heard that the execution controls in the SIE block for AP are one of >>>> the oldest ones we have around. How can it be that the AP feature cannot >>>> be used before zEC12? >>> It was a suggestion from the crypto team due to testability. Nobody has a z196 >>> with the older cards. >>> >> Might be worth adding a note to that respect? >> > We used to have the CPU model stick as close as possible to the real CPU > models. > > Support statements should cover in specific products what is expected to > work and what not. > > So is there any real (!support statement / !testability) reason to not > allow this feature on older CPU models that also had support for it? I'll discuss it with the team and get back to you. >