Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1241932pxa; Thu, 20 Aug 2020 06:33:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx9srk9KcCWFjs0oyepj228sLqsDCZTOdUazf63YY5WXIqXl8n175JE0oSLy6fW/sSfT9qk X-Received: by 2002:a17:906:3445:: with SMTP id d5mr3220626ejb.348.1597930403023; Thu, 20 Aug 2020 06:33:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597930403; cv=none; d=google.com; s=arc-20160816; b=qUIjcqPkvmArSPVOJxhy5oMydJuk2m9N2+3FMVzBXtmYgCngfBDHzjH2mUZmXfDOd+ Sg1xIGFiVd4d3Q7GgX+C5S95zf17C3aV10iP/luP3fHZSIQtuj5cf05MihURgcBEjwbG gtZTEyQGvvq7e8My90YhGCc3qvnwj0M4ciFietEEwaRMY0Mx5ZhkYZyWtR4uos7UKFJg oNE6yh6TOdWE1JVAacrYyg9zgGkjtN4XFFaUhaPprZElx/ie8BDHGU4bpi+wOlKXZ+hh S1ZtF/YW0cpVALX9YlvDHoxRjin0p80ZdrpFsWbKg90Phi+bwjCia9us16HSBqJvrE3S JoXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=m/nZjW3dhSOg4wYxuDy2WauLkL28AYBReX1qz7+u+5A=; b=DUs2kw3u6bS9tCGBp2hdlUx27q3bphrCOjI0xrtszCZm2Iq36Tk5N+hwFgFdhFMELW ta5VzeqVp+KJ3rCXbnqCBdY7hBNyEeWCIB6aNGBz34b2hUIl3dTyZyTPLPXRg23N65CN +Aj1BKa/55cDqtrrAKZ8cJ7FfKU1qTNgcS1ScE8P+4k3+XZa+vxE1auoIEdx5LuIwp6l kvce3EOygW/4C9u1dCpnNwGGlxKS8+VdNoLdVwuCzHw39mKvmOqiqfOWAlcOViNNPjy/ 1Hsv0WpM7/Z3JZZ/F+RY0dBoEjEQ64jFoO66vX+PewYY5YyrY6zsIBVcyX7dXy2JtOad lUKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=AJ07W0TL; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f10si1341579edx.485.2020.08.20.06.32.57; Thu, 20 Aug 2020 06:33:23 -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; dkim=pass header.i=@kernel.org header.s=default header.b=AJ07W0TL; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728329AbgHTNaO (ORCPT + 99 others); Thu, 20 Aug 2020 09:30:14 -0400 Received: from mail.kernel.org ([198.145.29.99]:45488 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728270AbgHTJc7 (ORCPT ); Thu, 20 Aug 2020 05:32:59 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2E38820724; Thu, 20 Aug 2020 09:32:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1597915975; bh=7w8lY9SNuQ0ArZc90EjzHkvXIEhkKVW3Y126jgQbW8w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AJ07W0TL3iHiV/DmU6s6Yu6/+knz3Mq2o8LbHL2LuJ6NkRrhcuioIaGRUNcwC4i1T kkJEs7UfQAnEfikB5F+bamZd2/bY3V/LFmziPvlAI1nR1zr6hMIhyWtznl5E6gWyAf 3P9nEnKa0VqvvTJ2Z7wKfo2CbcmbD1KWOZ2v8lQE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, kernel test robot , Krzysztof Kozlowski , Heiko Carstens , Sasha Levin Subject: [PATCH 5.8 201/232] s390/Kconfig: add missing ZCRYPT dependency to VFIO_AP Date: Thu, 20 Aug 2020 11:20:52 +0200 Message-Id: <20200820091622.542844253@linuxfoundation.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200820091612.692383444@linuxfoundation.org> References: <20200820091612.692383444@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Krzysztof Kozlowski [ Upstream commit 929a343b858612100cb09443a8aaa20d4a4706d3 ] 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 Signed-off-by: Heiko Carstens Signed-off-by: Sasha Levin --- arch/s390/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig index c7d7ede6300c5..4907a5149a8a3 100644 --- a/arch/s390/Kconfig +++ b/arch/s390/Kconfig @@ -769,6 +769,7 @@ config VFIO_AP def_tristate n prompt "VFIO support for AP devices" depends on S390_AP_IOMMU && VFIO_MDEV_DEVICE && KVM + depends on ZCRYPT help This driver grants access to Adjunct Processor (AP) devices via the VFIO mediated device interface. -- 2.25.1