Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5410695rwr; Tue, 9 May 2023 00:40:33 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7pznyeqGJVQFPKxDvI/7ye3h5MoIRznNqU8wnI0JBKnTZF8pIrzyY3r+WpTO6mIPiWP2NC X-Received: by 2002:a17:902:d38c:b0:1ab:675:3e31 with SMTP id e12-20020a170902d38c00b001ab06753e31mr15143180pld.37.1683618033241; Tue, 09 May 2023 00:40:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683618033; cv=none; d=google.com; s=arc-20160816; b=MzqcbrlL4NVXzaZ5kIYi4H6oDtE/a83ogIU+GeFJJNR20YcX3vZrjo1vRboYPwsTki 3Dw09tqydu5LINPlozbanMuhnSPAd+bj9Wq0xIQzI6QyKAe5I0wV6O/dTKNfjGcakIzl +iZ9WYGa6k6aeRunG2cX9fQ65trlSWpfofZX57PUWwDqbaDLWGV7FNCRkRi3FgtaJGpH gn1PzdFm4qbdH8BEWw1E4Eoa3nSi2xqq6exjj+BmZI+s1gB8w5VNpt+H3dXzXg5y3YEe DFLuGVf1hjk1kWNG6oJFIhz7mWgZ3I7+Tw4L6eTCW4hxWOlBjTrf8GTBVjxFFsc1z65I xDUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=uTYFcobGbfvh2wNLrHpyaU+w/FW3r/kS2DvEvsCI0a0=; b=BPcu+yVSvBecjKZArBG30NcFyWiU9pAe0d/r6P7f+/jLu2PRi+DDoj7dJfrQWi6Zzf PxYf3znmi1NOsWlBUqRtIzJHYq2ruDFJMX2wzlGXBfU1tPsWAojcpN808MyFDjH44Ezg KRPu572gwSOoUK63JqAdm5U++cuiw+e9NNP1qn0q39a6RVQQ8ctOoX5s30hQFU/5MkQ1 jXw3eW7PDyji/UtFE87ac7FHazHwnsGQ37ie9Umpb2lIVVyhwvH8xk8C6J8Zhe8M/E/D 7TsX64a7z/c0IVEUsvO7Scvp6rr+bnyvHevB5J2yZzJy2hLdX9JhVOEJ+jqW5/VCiu9e qA/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=e4NzMKx3; 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 p14-20020a170902b08e00b001a99b9ee2c9si883108plr.463.2023.05.09.00.40.20; Tue, 09 May 2023 00:40:33 -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=e4NzMKx3; 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 S229520AbjEIHSm (ORCPT + 99 others); Tue, 9 May 2023 03:18:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45716 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229460AbjEIHSk (ORCPT ); Tue, 9 May 2023 03:18:40 -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 B916ABC; Tue, 9 May 2023 00:18:39 -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 43AB262D64; Tue, 9 May 2023 07:18:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 36ED0C433D2; Tue, 9 May 2023 07:18:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1683616718; bh=8QQ/TWzUc3gS4jlPeHQgsKdVbG+aX+ZMQAWZ/cm0O6M=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=e4NzMKx3tLVybcg+6uQj0VRxQXy+OLypPq+PxwnJpQGfMz/i6PIZOpYVrjZGNbVaF xzwTof73+FXb0A86M5fSPYwb+2dDP1igHEVjBoxopn05V8Z/b81pi+jwKdkkW3iNAJ rc1EojlxIc1q/6coWp/NucH9h8toDQ/3tkFBvT6HNr8+dcAINE49k6mbytvTPZ5LR1 CSgw9qCWYRCUobtcW8oIhfgM4elaAyDfVcPQySnaBU+QoY82UTF7YEN1mIjthoo8Xu yx+XXP2f7CCx/oDzMWyIUtPEZ8bi3YF8+yABVI7I3coz3wbAzYhtZDHSzRqW8YU7ed rtkcwiXzKlKkg== Received: by pali.im (Postfix) id 435EB95D; Tue, 9 May 2023 09:18:35 +0200 (CEST) Date: Tue, 9 May 2023 09:18:35 +0200 From: Pali =?utf-8?B?Um9ow6Fy?= To: Michael Ellerman Cc: Randy Dunlap , Sasha Levin , linux-kernel@vger.kernel.org, stable@vger.kernel.org, andriy.shevchenko@linux.intel.com, linus.walleij@linaro.org, arnd@arndb.de, linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH AUTOSEL 6.3 6/7] powerpc/fsl_uli1575: Allow to disable FSL_ULI1575 support Message-ID: <20230509071835.rrfefrhwtwsxlngy@pali> References: <20230509035455.59524-1-sashal@kernel.org> <20230509035455.59524-6-sashal@kernel.org> <62539831-1f8c-d908-bd7c-2a926702fa7f@infradead.org> <87jzxix9g7.fsf@mail.lhotse> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87jzxix9g7.fsf@mail.lhotse> User-Agent: NeoMutt/20180716 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 On Tuesday 09 May 2023 17:14:48 Michael Ellerman wrote: > Randy Dunlap writes: > > Hi-- > > > > Just a heads up. This patch can cause build errors. > > I sent a patch for these on 2023-APR-28: > > https://lore.kernel.org/linuxppc-dev/20230429043519.19807-1-rdunlap@infradead.org/ > > > > Michael, I think this is your area if I'm not mistaken. > > Yes. The fix is in my fixes branch as: > 536d948a8dee ("powerpc/fsl_uli1575: fix kconfig warnings and build errors") > > But I don't think this commit (22fdf79171e8) really warrants going to > stable, it's a nice-to-have but doesn't fix any pressing bugs. Exactly. And also this patch alone without 1/8 would not work as in 1/8 https://lore.kernel.org/all/20230409000812.18904-2-pali@kernel.org/ was added static inline variant of function which is used when ULI is disabled. > cheers > > > On 5/8/23 20:54, Sasha Levin wrote: > >> 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 > > > > -- > > ~Randy