Received: by 10.223.164.221 with SMTP id h29csp1047232wrb; Fri, 13 Oct 2017 10:41:19 -0700 (PDT) X-Google-Smtp-Source: AOwi7QDP0vCRrRLDrJehcwpO0DnRfE/RAqJXVESAspHpSnWDhJHha9csoK5QB+dmOAOAwyGl8VAM X-Received: by 10.159.255.12 with SMTP id bi12mr1984092plb.61.1507916479432; Fri, 13 Oct 2017 10:41:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507916479; cv=none; d=google.com; s=arc-20160816; b=1GAeNj1pkD9PsuSGiBvnaFDHYVOv/B05h0TFa/Aj5sAhyRM+RwUz2XT2sC9RrhUEWz dYPjWGQa+8XnnvnH0M2vZiwIu8cK2jC+mdFuATbaO5Z2yjozryxCMhNDh7JorAGbb/gU FcZi8F12Vec6WVKIWJCc93s/qtnmSyDR3ERM8Srl5qfCtTgS3dVFofbak69eZkl8J0Cl P/JIfQXFnlh4Z9hlXDEP8dzalowKDyVzWCqPIIB2ZYhvo7rcDS7HFdPhdwGVbknLRH1C b3j96J/ul8DRKSHx0YCSYAM9eeRdO/8ibJ+LFzEDtW8jd4nFwppBlNmEpsaBnSFv6aXk aoJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:references:in-reply-to:date :subject:cc:to:from:arc-authentication-results; bh=EmIfv506mUTGf05JTF4udbgJiUinFpwEVPRXL+i6urY=; b=uPkpFC8cvotlfs/Wo2k+a/TPRQOeKxo16/JtlKWopE05akKcWtXHzC9P2sr25nkY0B z4+Sv1hQRkm+GyxQuFSb2/rnvGjxSG2EAXtgqKI/vlDjg1Rd/eA/43SWr8HnvryEbt9p ree3KzRys5KloMofUMHCwB5KM1Wb+lrGoaxpuEFvBj4kV+IDUfnTmX8Ri6n8qzY/qC9u rddSiys2cMnC9RLSfVPy7zzeH0K3Q/bOaFZxrlckWww2XD0Ya7YODxh7KvcI1iMz7ojq UqGuCNK+y9fc6DgqwtS2UjvfxWFah/eNay5NGpRtdPQwVnkm1s+SiqKF+8FnS2ZIHp4U t59A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u3si905222plm.546.2017.10.13.10.41.05; Fri, 13 Oct 2017 10:41:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753401AbdJMRkW (ORCPT + 99 others); Fri, 13 Oct 2017 13:40:22 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:55150 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753241AbdJMRkP (ORCPT ); Fri, 13 Oct 2017 13:40:15 -0400 Received: from pps.filterd (m0098421.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id v9DHctDB012588 for ; Fri, 13 Oct 2017 13:40:14 -0400 Received: from e18.ny.us.ibm.com (e18.ny.us.ibm.com [129.33.205.208]) by mx0a-001b2d01.pphosted.com with ESMTP id 2djynd60gt-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Fri, 13 Oct 2017 13:40:13 -0400 Received: from localhost by e18.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 13 Oct 2017 13:40:13 -0400 Received: from b01cxnp22036.gho.pok.ibm.com (9.57.198.26) by e18.ny.us.ibm.com (146.89.104.205) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Fri, 13 Oct 2017 13:40:09 -0400 Received: from b01ledav001.gho.pok.ibm.com (b01ledav001.gho.pok.ibm.com [9.57.199.106]) by b01cxnp22036.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id v9DHe7Mf45678792; Fri, 13 Oct 2017 17:40:08 GMT Received: from b01ledav001.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9210028050; Fri, 13 Oct 2017 13:40:01 -0400 (EDT) Received: from localhost.localdomain (unknown [9.85.201.79]) by b01ledav001.gho.pok.ibm.com (Postfix) with ESMTPS id ACE2F2804C; Fri, 13 Oct 2017 13:40:00 -0400 (EDT) From: Tony Krowiak To: linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org, kvm@vger.kernel.org Cc: freude@de.ibm.com, schwidefsky@de.ibm.com, heiko.carstens@de.ibm.com, borntraeger@de.ibm.com, cohuck@redhat.com, kwankhede@nvidia.com, bjsdjshi@linux.vnet.ibm.com, pbonzini@redhat.com, alex.williamson@redhat.com, pmorel@linux.vnet.ibm.com, alifm@linux.vnet.ibm.com, mjrosato@linux.vnet.ibm.com, qemu-s390x@nongnu.org, jjherne@linux.vnet.ibm.com, thuth@redhat.com, pasic@linux.vnet.ibm.com, Tony Krowiak Subject: [RFC 19/19] s390/facilities: enable AP facilities needed by guest Date: Fri, 13 Oct 2017 13:39:04 -0400 X-Mailer: git-send-email 1.7.1 In-Reply-To: <1507916344-3896-1-git-send-email-akrowiak@linux.vnet.ibm.com> References: <1507916344-3896-1-git-send-email-akrowiak@linux.vnet.ibm.com> X-TM-AS-GCONF: 00 x-cbid: 17101317-0044-0000-0000-0000039F90BD X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00007892; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000236; SDB=6.00930643; UDB=6.00468501; IPR=6.00710909; BA=6.00005636; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00017529; XFM=3.00000015; UTC=2017-10-13 17:40:12 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17101317-0045-0000-0000-000007CE941D Message-Id: <1507916344-3896-20-git-send-email-akrowiak@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-10-13_07:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1707230000 definitions=main-1710130244 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Sets up the following facilities bits to enable the specified AP facilities for the guest VM: * STFLE.12: Enables the AP Query Configuration Information facility. The AP bus running in the guest uses the information returned from this instruction to configure AP adapters and domains for the guest machine. * STFLE.15: Indicates the AP facilities test is available. The AP bus running in the guest uses the information. Signed-off-by: Tony Krowiak --- arch/s390/tools/gen_facilities.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/s390/tools/gen_facilities.c b/arch/s390/tools/gen_facilities.c index 70dd8f1..eeaa7db 100644 --- a/arch/s390/tools/gen_facilities.c +++ b/arch/s390/tools/gen_facilities.c @@ -74,8 +74,10 @@ struct facility_def { 8, /* enhanced-DAT 1 */ 9, /* sense-running-status */ 10, /* conditional sske */ + 12, /* AP query configuration */ 13, /* ipte-range */ 14, /* nonquiescing key-setting */ + 15, /* AP special-command facility */ 73, /* transactional execution */ 75, /* access-exception-fetch/store indication */ 76, /* msa extension 3 */ -- 1.7.1 From 1589806904985269180@xxx Wed Jan 17 03:00:13 +0000 2018 X-GM-THRID: 1586038109134128523 X-Gmail-Labels: Inbox,Category Forums,Downloaded_2018-01