Received: by 10.223.164.221 with SMTP id h29csp247573wrb; Mon, 16 Oct 2017 02:11:40 -0700 (PDT) X-Google-Smtp-Source: AOwi7QCGB7360Q+5EmUCYmrwkkK0J0aOS51eDYVYkd9eRIr9J/RlwrYjerHQOXxyVXvtpssofklZ X-Received: by 10.84.130.39 with SMTP id 36mr8511696plc.429.1508145099993; Mon, 16 Oct 2017 02:11:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508145099; cv=none; d=google.com; s=arc-20160816; b=sYkCmnY9tjrttB10f4fXLiDGPixQ1cGA0sJXpOMuSk+lWeJv9T2OQ5zi0IyaUIu8TR 3TQbWHs/0OJIDW80xtW5N+4r0ojpW3OzcEJ8HbjSHTXvZPyYAPKZgPy8sHZ5PCjKrdz4 d5OZoZiHt03ydnykkCsHb2f0PHVAv9YZTJq1E7BRpPepg1Fap18OQDoI++Nd6MDFbv4w +QXcmaYYlnr9ybq9gTw2Fk957WPgY61grIT28zk0cB/hqRtSA84q/kVKretnnv5Thh1q iBjmyd8RC4CXU7Uyv3LtfYI3bqwjKeb46JnKVbwEPqOxIVc/LEQhea6EW+SDayAN3CZO XSvA== 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 :mime-version:references:in-reply-to:subject:cc:to:from:date :arc-authentication-results; bh=T9ZzOOPb3h/siIFpZlB7xETA11nEj7g3GMTHUzd7OJY=; b=gM4eoe1spGSE2aRQJjtl9UauPxadxzLWALsDNlVTFBM+APNYLDqH6N+vAP4AxoR2b0 RP7ooR76y35GSoQ+ji5K+uYEzd2mCLVSb8cs7PM5SNEbZorid5iG0MWxbyeeJmWjcSeE DzfTnCykKRFEa5wEwcQ7QqxS3NWdqwTXPZRKV5HH03YUEr2sAluKNh+XvvmcjM2gloyf nIWuveOgQiHPNjDIME23dJSB0iHutJ1HLA/iEMUuczR/357kFGnDASoiq0eno7lrc35f ge3pndxbtdMqOIToODtTJOPkYAZTsKzOTia8VIOvWKGDfE3LJsTJzr0VYH9XLmdMsgci Kssg== 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 h13si3830993pgs.399.2017.10.16.02.11.14; Mon, 16 Oct 2017 02:11:39 -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 S1751978AbdJPJKm (ORCPT + 99 others); Mon, 16 Oct 2017 05:10:42 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:42572 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751945AbdJPJKk (ORCPT ); Mon, 16 Oct 2017 05:10:40 -0400 Received: from pps.filterd (m0098396.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id v9G99k1D120343 for ; Mon, 16 Oct 2017 05:10:40 -0400 Received: from e06smtp12.uk.ibm.com (e06smtp12.uk.ibm.com [195.75.94.108]) by mx0a-001b2d01.pphosted.com with ESMTP id 2dmqh4nrst-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Mon, 16 Oct 2017 05:10:39 -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 Oct 2017 10:10:36 +0100 Received: from b06cxnps4075.portsmouth.uk.ibm.com (9.149.109.197) by e06smtp12.uk.ibm.com (192.168.101.142) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Mon, 16 Oct 2017 10:10:33 +0100 Received: from d06av24.portsmouth.uk.ibm.com (d06av24.portsmouth.uk.ibm.com [9.149.105.60]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id v9G9AXG313500654; Mon, 16 Oct 2017 09:10:33 GMT Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D668142045; Mon, 16 Oct 2017 10:06:08 +0100 (BST) Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 55BFD42042; Mon, 16 Oct 2017 10:06:08 +0100 (BST) Received: from mschwideX1 (unknown [9.152.212.220]) by d06av24.portsmouth.uk.ibm.com (Postfix) with ESMTP; Mon, 16 Oct 2017 10:06:08 +0100 (BST) Date: Mon, 16 Oct 2017 11:10:30 +0200 From: Martin Schwidefsky To: Tony Krowiak Cc: linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, freude@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 Subject: Re: [RFC 07/19] KVM: s390: introduce AP matrix configuration interface In-Reply-To: <1507916344-3896-8-git-send-email-akrowiak@linux.vnet.ibm.com> References: <1507916344-3896-1-git-send-email-akrowiak@linux.vnet.ibm.com> <1507916344-3896-8-git-send-email-akrowiak@linux.vnet.ibm.com> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 x-cbid: 17101609-0008-0000-0000-000004A03062 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17101609-0009-0000-0000-00001E325F5F Message-Id: <20171016111030.1a955866@mschwideX1> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-10-16_03:,, 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-1710160130 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 13 Oct 2017 13:38:52 -0400 Tony Krowiak wrote: > This patch introduces a new compilation unit that will contain > all of the data structures and logic for configuring AP adapters, > usage domains and control domains for a KVM guest. > > Signed-off-by: Tony Krowiak > --- > MAINTAINERS | 2 ++ > arch/s390/include/asm/ap-config.h | 12 ++++++++++++ > arch/s390/kvm/Makefile | 2 +- > arch/s390/kvm/ap-config.c | 9 +++++++++ > 4 files changed, 24 insertions(+), 1 deletions(-) > create mode 100644 arch/s390/include/asm/ap-config.h > create mode 100644 arch/s390/kvm/ap-config.c > > diff --git a/MAINTAINERS b/MAINTAINERS > index 0c8855a..4de0904 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -11721,6 +11721,8 @@ F: drivers/s390/crypto/ap_matrix_bus.c > F: drivers/s390/crypto/vfio_ap_matrix_drv.c > F: drivers/s390/crypto/vfio_ap_matrix_private.h > F: drivers/s390/crypto/vfio_ap_matrix_ops.c > +F: arch/s390/include/asm/kvm/ap-config.h > +F: arch/s390/kvm/ap-config.c > > S390 ZFCP DRIVER > M: Steffen Maier > diff --git a/arch/s390/include/asm/ap-config.h b/arch/s390/include/asm/ap-config.h > new file mode 100644 > index 0000000..8491b5f > --- /dev/null > +++ b/arch/s390/include/asm/ap-config.h > @@ -0,0 +1,12 @@ > +/* > + * Adjunct Processor (AP) configuration management for KVM guests > + * > + * Copyright IBM Corp. 2017 > + * > + * Author(s): Tony Krowiak > + */ > + > +#ifndef _ASM_KVM_AP_CONFIG_H_ > +#define _ASM_KVM_AP_CONFIG_H_ > + > +#endif /* _ASM_KVM_AP_CONFIG_H_ */ > diff --git a/arch/s390/kvm/Makefile b/arch/s390/kvm/Makefile > index 09a9e6d..0397b9c 100644 > --- a/arch/s390/kvm/Makefile > +++ b/arch/s390/kvm/Makefile > @@ -12,6 +12,6 @@ common-objs = $(KVM)/kvm_main.o $(KVM)/eventfd.o $(KVM)/async_pf.o $(KVM)/irqch > ccflags-y := -Ivirt/kvm -Iarch/s390/kvm > > kvm-objs := $(common-objs) kvm-s390.o intercept.o interrupt.o priv.o sigp.o > -kvm-objs += diag.o gaccess.o guestdbg.o sthyi.o vsie.o > +kvm-objs += diag.o gaccess.o guestdbg.o sthyi.o vsie.o ap-config.o > > obj-$(CONFIG_KVM) += kvm.o > diff --git a/arch/s390/kvm/ap-config.c b/arch/s390/kvm/ap-config.c > new file mode 100644 > index 0000000..84fdf43 > --- /dev/null > +++ b/arch/s390/kvm/ap-config.c > @@ -0,0 +1,9 @@ > +/* > + * Adjunct Processor (AP) configuration management for KVM guests > + * > + * Copyright IBM Corp. 2017 > + * > + * Author(s): Tony Krowiak > + */ > + > +#include Another patch that introduces empty files. Please don't do that. Merge patch #7 with patch #16. With the dependency in patch #8 on the ap-config.h header the new place for the combined patch would be prior to patch #8. -- blue skies, Martin. "Reality continues to ruin my life." - Calvin. From 1581165354219269559@xxx Fri Oct 13 17:46:28 +0000 2017 X-GM-THRID: 1581165354219269559 X-Gmail-Labels: Inbox,Category Forums