Received: from eggs.gnu.org ([209.51.188.92]:52773) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1guaGt-0004sa-L7 for qemu-devel@nongnu.org; Fri, 15 Feb 2019 04:59:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1guaGs-00055x-PI for qemu-devel@nongnu.org; Fri, 15 Feb 2019 04:59:03 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:43044 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 1guaGp-0004pC-Ff for qemu-devel@nongnu.org; Fri, 15 Feb 2019 04:58:59 -0500 Received: from pps.filterd (m0098417.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x1F9nJCD139677 for ; Fri, 15 Feb 2019 04:58:54 -0500 Received: from e06smtp04.uk.ibm.com (e06smtp04.uk.ibm.com [195.75.94.100]) by mx0a-001b2d01.pphosted.com with ESMTP id 2qnshm5fy3-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 15 Feb 2019 04:58:53 -0500 Received: from localhost by e06smtp04.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 15 Feb 2019 09:58:51 -0000 References: <1550146494-21085-1-git-send-email-pmorel@linux.ibm.com> <1550146494-21085-2-git-send-email-pmorel@linux.ibm.com> <68ef1f07-75c2-5d40-1bf9-d6f1db1fa839@linux.ibm.com> From: Christian Borntraeger Date: Fri, 15 Feb 2019 10:58:44 +0100 MIME-Version: 1.0 In-Reply-To: <68ef1f07-75c2-5d40-1bf9-d6f1db1fa839@linux.ibm.com> Content-Language: en-US Message-Id: <6ae3208c-11ea-0fe5-bebb-5c3febb06339@de.ibm.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v3] s390x/cpumodel: Set up CPU model for AQIC interception List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Pierre Morel Cc: akrowiak@linux.ibm.com, peter.maydell@linaro.org, david@redhat.com, cohuck@redhat.com, qemu-devel@nongnu.org, agraf@suse.de, pasic@linux.ibm.com, eric.auger@redhat.com, qemu-s390x@nongnu.org, mst@redhat.com, pbonzini@redhat.com, rth@twiddle.net On 15.02.2019 10:53, Pierre Morel wrote: > On 14/02/2019 13:14, Pierre Morel wrote: >> A new CPU model facilities is introduced to support AP devices >> interruption interception for a KVM guest. >> >> "APQI" for "AP-Queue Interruption" facility >> >> The S390_FEAT_AP_QUEUE_INTERRUPT_CONTROL, CPU facility indicates >> whether the PQAP instruction with the AQIC command is available >> to the guest. >> This feature will be enabled only if the AP instructions are >> available on the linux host and AQIC facility is installed on >> the host. >> >> This feature must be turned on from userspace to intercept AP >> instructions on the KVM guest. The QEMU command line to turn >> this feature on looks something like this: >> >> =C2=A0=C2=A0=C2=A0=C2=A0 qemu-system-s390x ... -cpu xxx,apqi=3Don ... >=20 >=20 >=20 > Hi, >=20 > I suddenly have a very big doubt on this QEMU patch. >=20 > Older Linux advertise PQAP/AQIC feature (65) Which Linuxes advertise PQAP/AQIC (stfle.65)? This was never advertised by any previous Linux as far as I can tell.