Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5247266rwr; Mon, 8 May 2023 21:29:43 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5a88dquQnA7tXydyS5xCF3PaBjt+GaMQMyuHsCI01K5SzaXBJzb8ieW9wRIWJHugNsaaGe X-Received: by 2002:a05:6a20:7345:b0:da:d4eb:9e07 with SMTP id v5-20020a056a20734500b000dad4eb9e07mr15456389pzc.30.1683606583153; Mon, 08 May 2023 21:29:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683606583; cv=none; d=google.com; s=arc-20160816; b=GtkpnclHJgkUyzypJ2J5JEbv3z3iavru+IUIyCLXd40wql0jlfqPP5mK/1gTVh4EUe sLwKwH1fWQddQOMOLVyWjxCb7TvT4TL7/pse5dZiL6bU9KfwO7lQ/Q1tq6IS6BfWMdPT EhnYM+GfZeFJ4PnMEEnfVGjP9mX7zI7S4STFv3x9SoevbcjO312Mjh44bShkS9FFuP2x Tml+lYS4LzSNkipJSHdqQGvqxV/HjB88dYWGh2Kd2nP4D4UtC5SQgaMgyDlJYgwOWfcA cbFzfCALcfAuS0gUT6Fxiy5cCaHWVVyn1eL2KAMQWgYPefR0GqAuwqwbb1yNelvycvop 5EXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=kAdH2YmdeVrFNbMQ6DkOORstqfNAHMDE6wtTYoc5PPc=; b=loAXPy3UWTYiYtwj6pYgU9IFIpPEcyJ9E/TTYT+tnAW2sC9fdpKv05dLC/iIq/GbQ1 hHpUfEY1eh7rH/DBKHz4RdfPjM98JW6LhoyppdPM1QYxG/IFXIVKBI57j6CrxmXk7tlB VZVVOUMWCbQlxuxwmTXwpt3lWMvoFDqUDXWTocKbo/C6zUqCp1XdLXdkYOYaKNaiRCnB U7OGViMfG0DrlGkcLGauwb76k/DX8wVQ6W41IpRtsJyVYyRU1Ozm9RwyBmEb029P3g2I gIvkurAFC9jY7C//Sim0Mew2/mWCDjRvB8aMBieF6JMEFscViynRzIscwraZqgPC8lrK OXwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cq0xFJMS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q125-20020a632a83000000b0051412a8bc7csi571148pgq.695.2023.05.08.21.29.27; Mon, 08 May 2023 21:29:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cq0xFJMS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234563AbjEIDzh (ORCPT + 99 others); Mon, 8 May 2023 23:55:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37700 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234420AbjEIDzR (ORCPT ); Mon, 8 May 2023 23:55:17 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DAD6F7A9F; Mon, 8 May 2023 20:55:09 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 5F89361A69; Tue, 9 May 2023 03:55:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A3EE2C433D2; Tue, 9 May 2023 03:55:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1683604508; bh=BWaUpw5uHM6kKYPpC35BJ+4DJ7Geniu2LmeOM5AGg/I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cq0xFJMSlMd7Rq4BzUQGrGfCTa2cG7aw7tBQl3XlWWCM7JTdZTLVte1uDAGA4IunP +xikKd/9JYhzf/xpH/f0+zWzA50tKLFM3Vxl91Lx/UPr73XJgU+3a/2HhTGn+OjCm+ avOGYAs0yQU3A+197MRwaneWlcxWzqY6hZp5OBQFh1Q1VqmBygyZwFkyn4cNjy3d/T GYqa97Nta/f5CxOe97VTlQH3PaXFRS8IOXbYGGIk0YXlh+QBw6plBRBxy4mnxN4k3x 1ZJsyl4x4g48dL7LxKq2z7gGR3+IzLyhsmaENAR9RYvgNFhskFstImKUOdWtb0jA5x K3f7k5V99vC6Q== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: =?UTF-8?q?Pali=20Roh=C3=A1r?= , Michael Ellerman , Sasha Levin , andriy.shevchenko@linux.intel.com, linus.walleij@linaro.org, arnd@arndb.de, linuxppc-dev@lists.ozlabs.org Subject: [PATCH AUTOSEL 6.3 6/7] powerpc/fsl_uli1575: Allow to disable FSL_ULI1575 support Date: Mon, 8 May 2023 23:54:29 -0400 Message-Id: <20230509035455.59524-6-sashal@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230509035455.59524-1-sashal@kernel.org> References: <20230509035455.59524-1-sashal@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Pali Rohár [ Upstream commit 22fdf79171e8509db54599fd2c05ef0022ee83f5 ] ULI1575 PCIe south bridge exists only on some Freescale boards. Allow to disable CONFIG_FSL_ULI1575 symbol when it is not explicitly selected and only implied. This is achieved by marking symbol as visible by providing short description. Also adds dependency for this symbol to prevent enabling it on platforms on which driver does not compile. Signed-off-by: Pali Rohár Signed-off-by: Michael Ellerman Link: https://msgid.link/20230409000812.18904-7-pali@kernel.org Signed-off-by: Sasha Levin --- arch/powerpc/platforms/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/platforms/Kconfig b/arch/powerpc/platforms/Kconfig index d41dad227de84..608ac0290e3aa 100644 --- a/arch/powerpc/platforms/Kconfig +++ b/arch/powerpc/platforms/Kconfig @@ -261,7 +261,9 @@ config CPM2 on it (826x, 827x, 8560). config FSL_ULI1575 - bool + bool "ULI1575 PCIe south bridge support" + depends on FSL_SOC_BOOKE || PPC_86xx + select FSL_PCI select GENERIC_ISA_DMA help Supports for the ULI1575 PCIe south bridge that exists on some -- 2.39.2