Received: by 10.192.165.156 with SMTP id m28csp708812imm; Mon, 16 Apr 2018 07:30:14 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/aZmfgL+Apgw78KmCm+a1aMMqUcZyJA/oH+nW8AjXSchHXF2EQ0r1XlVVJDvzDThsswO5m X-Received: by 2002:a17:902:b209:: with SMTP id t9-v6mr513261plr.105.1523889014165; Mon, 16 Apr 2018 07:30:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523889013; cv=none; d=google.com; s=arc-20160816; b=pfHSvXxdzsJLfiRac3HKYWfDd4guYsdNBrPzfh5FCQPQ8eeAZbMHtNVdU8MK6enTu3 m6v2XPqirhVqU+rti8d9rqQqA0MnMzXtRegmtM98qAcsv3rxerOiBTWAjd1f1u/RCLXL 7NVGsUNKBnxmns3O7HoR3nZxuDdWug+KwPpTzTQxCHyZxenKHzrDv+tRNC/x/cFFMH1g iKF3bPZVQLS0tbtaMfk7zHARQAT3VEHw7ik2gox7LgsmVXXl4QHZzvPKE+RiRuiEfzVY 5hdbNCzeqrn6/3rsCVgj+s2kPoWE+89wgdjDrOCTCFTLjgvem0hCm3I5cRbToeRsQs3J 9BNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date:from :references:cc:to:subject:arc-authentication-results; bh=JqAPNiFEB+gk35O2ya6RPoF/J9gEp0LD1MD1HSkvelI=; b=qjOr4az7+9l952VnVofl+kWhyFwDTIaPvDbJ3IaIodwv3swgVivSjaNLQu7K6ilVyb 3k+4c+QJHVdcep4fQZRIWCiI7zKOJlriqNYcwU/Sih95rUQnk75ct1LjE43yyacAIgW8 ecS/Og7Gd3Gcar401OvAINovmCziAQFNnkfpIcYVZuShSDvTJhLbwIVEr5wBlvxLmiUj TzsiaYmzyLQOFTHiiDZcXMMZh8cF5sCxxftmedFzzocVbPy4+5tiDQ+IjBB2bUH1dHJL rqY9BdhjSABd/jgZSW6kOtoR896ckE6VBIsZ/5LOYwovUzs29Tx4eXw680a/BdKhpn0c JZzg== 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 d8si9698667pgc.60.2018.04.16.07.29.59; Mon, 16 Apr 2018 07:30:13 -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 S1754634AbeDPLM6 (ORCPT + 99 others); Mon, 16 Apr 2018 07:12:58 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:59884 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753252AbeDPLM5 (ORCPT ); Mon, 16 Apr 2018 07:12:57 -0400 Received: from pps.filterd (m0098396.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w3GBAAKL068558 for ; Mon, 16 Apr 2018 07:12:56 -0400 Received: from e06smtp12.uk.ibm.com (e06smtp12.uk.ibm.com [195.75.94.108]) by mx0a-001b2d01.pphosted.com with ESMTP id 2hcqs5gcur-1 (version=TLSv1.2 cipher=AES256-SHA256 bits=256 verify=NOT) for ; Mon, 16 Apr 2018 07:12:56 -0400 Received: from localhost by e06smtp12.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 16 Apr 2018 12:12:53 +0100 Received: from b06cxnps4076.portsmouth.uk.ibm.com (9.149.109.198) by e06smtp12.uk.ibm.com (192.168.101.142) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Mon, 16 Apr 2018 12:12:50 +0100 Received: from d06av25.portsmouth.uk.ibm.com (d06av25.portsmouth.uk.ibm.com [9.149.105.61]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w3GBCnd442991776; Mon, 16 Apr 2018 11:12:49 GMT Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 730D311C04C; Mon, 16 Apr 2018 12:04:47 +0100 (BST) Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B177C11C050; Mon, 16 Apr 2018 12:04:46 +0100 (BST) Received: from oc3836556865.ibm.com (unknown [9.152.224.140]) by d06av25.portsmouth.uk.ibm.com (Postfix) with ESMTP; Mon, 16 Apr 2018 12:04:46 +0100 (BST) Subject: Re: [PATCH v4 05/15] KVM: s390: enable/disable AP interpretive execution To: Tony Krowiak , 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, jjherne@linux.vnet.ibm.com, thuth@redhat.com, berrange@redhat.com, fiuczy@linux.vnet.ibm.com, buendgen@de.ibm.com References: <1523827345-11600-1-git-send-email-akrowiak@linux.vnet.ibm.com> <1523827345-11600-6-git-send-email-akrowiak@linux.vnet.ibm.com> From: Halil Pasic Date: Mon, 16 Apr 2018 13:12:48 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <1523827345-11600-6-git-send-email-akrowiak@linux.vnet.ibm.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 x-cbid: 18041611-0008-0000-0000-000004EB0E58 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18041611-0009-0000-0000-00001E7F24BF Message-Id: X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-04-16_06:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1804160106 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/15/2018 11:22 PM, Tony Krowiak wrote: > The VFIO AP device model exploits interpretive execution of AP > instructions (APIE) to provide guests passthrough access to AP > devices. This patch introduces a new interface to enable and > disable APIE. > > Signed-off-by: Tony Krowiak LGTM, but should be squashed into #4. (Like this you have a kernel that supports the cpu model feature 'ap' but does not do 'interpretation is default'.)