Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5CB2CC433E0 for ; Wed, 24 Jun 2020 14:06:40 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2865A20781 for ; Wed, 24 Jun 2020 14:06:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="yn5TfFt0"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="nkuwFm1H" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2865A20781 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=wLQVFRVnAo8YwtgsqziXIqg8LQe0im1IfoH8T7O+OeU=; b=yn5TfFt0phDFGtrQFrj5Z1mVUt dcq6V4ZXdxk07ptZV0Y+Sunb6PbOiWaYvny2/fjLOWbN4JR5KUxOh3yT/ZmUczBfiaAilFnzafluy xq7l41g+/1Sks5FzqaBGsFwrRlY3C+lHrW68ukSnEjnDQusJdNvY/JNH61jEROLlTu6sDtC6WJGkV qB0GqH1kp6OalbHRGGoPdcaVVXPcdsV+YKy16IjcXUwB9CbEhquyWnJplHpCq0T99FWp+Y7dEpV3c bPtL+Eup+uUDc6krCIrICIO0qAsPOTuI9ro+mWPikuI1Gj80vQVT6MsdgNKLhjfkovtRPcShYD/7i FIkk/mdQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jo615-0006l9-F3; Wed, 24 Jun 2020 14:04:43 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jo612-0006jo-D6 for linux-arm-kernel@lists.infradead.org; Wed, 24 Jun 2020 14:04:41 +0000 Received: from localhost.localdomain (lfbn-nic-1-188-42.w2-15.abo.wanadoo.fr [2.15.37.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8C72A20724; Wed, 24 Jun 2020 14:04:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1593007479; bh=/GIc6bYTyZIeP5FKTwnbhn96MrM6Mf5ZovOSgdHAbtE=; h=From:To:Cc:Subject:Date:From; b=nkuwFm1HLv78rU1TNp9k91tWTtRTf7g1J9dcJr4upOj1ILTshro+XF+C7WonOE67N ALXxoL6yR7nBfTwgJ7wHam8I4ngR1O5qKN+XPtaHQydoFKlNIeOeMo/km0sQNW/+Ue yY0ew6a/QOo9sVNZpeZdi7a/uUNb21BAKmvUIcvU= From: Ard Biesheuvel To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] arm64: defconfig: enable QoriQ dependencies as modules Date: Wed, 24 Jun 2020 16:04:33 +0200 Message-Id: <20200624140433.1631456-1-ardb@kernel.org> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: olof@lixom.net, Ard Biesheuvel , arnd@arndb.de, leoyang.li@nxp.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The arm64 port adopts a single image policy, and therefore has a single defconfig that should produce a kernel that can boot on any platform. Given the shared nature, we typically enable tristate Kconfig options as modules, unless there is a good reason to enable it as a builtin. In the case of commit 97c1ed02f765bc89 ("arm64: defconfig: Enable PHY devices used on QorIQ boards"), this is not really the case, and the various options are enabled as builtins as a convenience for the NXP developers that actually work on such boards. This pulls in other dependencies, such as CRYPTO_AES and CRYPTO_ECB (for MICROSEMI_PHY), which themselves pull in other pieces of the crypto stack. Since all the options that this commit enables are tristate, let's switch them all to =m Fixes: 97c1ed02f765bc89 ("arm64: defconfig: Enable PHY devices used on QorIQ boards") Signed-off-by: Ard Biesheuvel --- arch/arm64/configs/defconfig | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 883e8bace3ed..b0c5cf72a4c3 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -318,17 +318,17 @@ CONFIG_STMMAC_ETH=m CONFIG_TI_K3_AM65_CPSW_NUSS=y CONFIG_QCOM_IPA=m CONFIG_MDIO_BUS_MUX_MMIOREG=y -CONFIG_MDIO_BUS_MUX_MULTIPLEXER=y -CONFIG_AQUANTIA_PHY=y +CONFIG_MDIO_BUS_MUX_MULTIPLEXER=m +CONFIG_AQUANTIA_PHY=m CONFIG_MARVELL_PHY=m CONFIG_MARVELL_10G_PHY=m CONFIG_MESON_GXL_PHY=m CONFIG_MICREL_PHY=y -CONFIG_MICROSEMI_PHY=y +CONFIG_MICROSEMI_PHY=m CONFIG_AT803X_PHY=y CONFIG_REALTEK_PHY=m CONFIG_ROCKCHIP_PHY=y -CONFIG_VITESSE_PHY=y +CONFIG_VITESSE_PHY=m CONFIG_USB_PEGASUS=m CONFIG_USB_RTL8150=m CONFIG_USB_RTL8152=m @@ -951,7 +951,7 @@ CONFIG_OPTEE=y CONFIG_SLIMBUS=m CONFIG_SLIM_QCOM_CTRL=m CONFIG_SLIM_QCOM_NGD_CTRL=m -CONFIG_MUX_MMIO=y +CONFIG_MUX_MMIO=m CONFIG_EXT2_FS=y CONFIG_EXT3_FS=y CONFIG_EXT4_FS_POSIX_ACL=y -- 2.27.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel