Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1330911pxa; Thu, 6 Aug 2020 05:26:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyq4CfUqwazFlV4WyMeU2YjOiCTOpR472Or0ytEdir1L9I/96QNW4+isGkCNNlXihbxMlTC X-Received: by 2002:a17:906:9382:: with SMTP id l2mr3929649ejx.513.1596716793479; Thu, 06 Aug 2020 05:26:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596716793; cv=none; d=google.com; s=arc-20160816; b=Nc3e5bi6YPUkju9jBOZJ5Dcilj5uuc1XPW2u/TlXfwDUHMYzaE6gw3tKP2zL4VCVGa g4kKiAgkJYbtYAuFss87VOSeo7X9dkui4WAEvL2zW8lIY5dFiAtVex+8p0CezRenFFY7 fjf04udgO4bj3aZK2fqeaZ+XNQP/GeBf5wz+WzXVAORH7qtUeGKX+sbWcq7K5sk9V43Z 4P+YiN/RZQ1ohPYHz+4munr1WteXIsvP+M7eK1wiyGeVMF66A6CelffGZ36X8OL1nKcW SPwPEXnGsKokbKNtKpnfdvRAlX867lkcHzZhf5ylCibLCvnVADgF6B6Ha5a05LjJzHfA nhcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=FjY0Atlc6ejfZ4SIG0JxLgAHnvWu4G8Jc+Si9BQlhbI=; b=QUILs5ZaE0TQSf4wREk5LhXyqU/SLohHxgSsI2MSoQjfYYmCqtOKrjQld8ENnIjeOT fAgVDfVYiExWLJkt+LTjA+ZWJvLCdIEWX55TWXikFbMFHVD+vcW13/pYtyOpSb+SG5Jd BTiHhnlXyEmiuBRaXxsF6MY7IhLSC2GOay8HLy0vG1aOT1QcDFHja4RlX40wxoliG5iG TcnsiXsVFWlvNlrSWjBLMvdfKuREkt+ktgzOqD7RMYJDomQW8cViPv9/A/BwNzkdpiXt Pju50HfQrclNtAhUfbBLwXAto58x7fLFP0EnW7g5cZ37YHirmaBPCfrcaVmdwSQ20v8A HAdA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id j18si2804501edq.576.2020.08.06.05.26.10; Thu, 06 Aug 2020 05:26:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1728962AbgHFMSY (ORCPT + 99 others); Thu, 6 Aug 2020 08:18:24 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:34762 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727006AbgHFLPl (ORCPT ); Thu, 6 Aug 2020 07:15:41 -0400 Received: from pps.filterd (m0098420.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 076AWtuR103123; Thu, 6 Aug 2020 07:00:16 -0400 Received: from ppma05fra.de.ibm.com (6c.4a.5195.ip4.static.sl-reverse.com [149.81.74.108]) by mx0b-001b2d01.pphosted.com with ESMTP id 32rfpx1gjw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 06 Aug 2020 07:00:15 -0400 Received: from pps.filterd (ppma05fra.de.ibm.com [127.0.0.1]) by ppma05fra.de.ibm.com (8.16.0.42/8.16.0.42) with SMTP id 076B0D8t018097; Thu, 6 Aug 2020 11:00:14 GMT Received: from b06cxnps4074.portsmouth.uk.ibm.com (d06relay11.portsmouth.uk.ibm.com [9.149.109.196]) by ppma05fra.de.ibm.com with ESMTP id 32n017u9ku-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 06 Aug 2020 11:00:14 +0000 Received: from d06av26.portsmouth.uk.ibm.com (d06av26.portsmouth.uk.ibm.com [9.149.105.62]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 076B0BHF19595764 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 6 Aug 2020 11:00:11 GMT Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 1C415AE055; Thu, 6 Aug 2020 11:00:11 +0000 (GMT) Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C6979AE04D; Thu, 6 Aug 2020 11:00:10 +0000 (GMT) Received: from osiris (unknown [9.171.40.123]) by d06av26.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Thu, 6 Aug 2020 11:00:10 +0000 (GMT) Date: Thu, 6 Aug 2020 13:00:09 +0200 From: Heiko Carstens To: Krzysztof Kozlowski Cc: Vasily Gorbik , Christian Borntraeger , Joerg Roedel , linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] s390/Kconfig: add missing ZCRYPT dependency to VFIO_AP Message-ID: <20200806110009.GA68234@osiris> References: <20200805155053.3739-1-krzk@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200805155053.3739-1-krzk@kernel.org> X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235,18.0.687 definitions=2020-08-06_06:2020-08-06,2020-08-06 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=999 clxscore=1011 lowpriorityscore=0 priorityscore=1501 phishscore=0 mlxscore=0 malwarescore=0 spamscore=0 suspectscore=1 adultscore=0 impostorscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2008060071 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 05, 2020 at 05:50:53PM +0200, Krzysztof Kozlowski wrote: > The VFIO_AP uses ap_driver_register() (and deregister) functions > implemented in ap_bus.c (compiled into ap.o). However the ap.o will be > built only if CONFIG_ZCRYPT is selected. > > This was not visible before commit e93a1695d7fb ("iommu: Enable compile > testing for some of drivers") because the CONFIG_VFIO_AP depends on > CONFIG_S390_AP_IOMMU which depends on the missing CONFIG_ZCRYPT. After > adding COMPILE_TEST, it is possible to select a configuration with > VFIO_AP and S390_AP_IOMMU but without the ZCRYPT. > > Add proper dependency to the VFIO_AP to fix build errors: > > ERROR: modpost: "ap_driver_register" [drivers/s390/crypto/vfio_ap.ko] undefined! > ERROR: modpost: "ap_driver_unregister" [drivers/s390/crypto/vfio_ap.ko] undefined! > > Reported-by: kernel test robot > Fixes: e93a1695d7fb ("iommu: Enable compile testing for some of drivers") > Signed-off-by: Krzysztof Kozlowski > --- > arch/s390/Kconfig | 1 + > 1 file changed, 1 insertion(+) Applied, thanks.