Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp1074311rdb; Sat, 7 Oct 2023 10:32:57 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGtgTLEGgwPjcrmWeJQZ3yv+f0yar7aA8ehw9KDrzNVHBAUgB9Z3X1HTRlgln53BtVUCxVN X-Received: by 2002:a9d:6b06:0:b0:6be:c1b:ded4 with SMTP id g6-20020a9d6b06000000b006be0c1bded4mr12577205otp.3.1696699977002; Sat, 07 Oct 2023 10:32:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696699976; cv=none; d=google.com; s=arc-20160816; b=FzdhyesIFZIyPcsdM6/JIRDkCRmCkVx+kI1CxmowBQPMSO1epLBRNN6P/NaaraCIbV 7ofMBMzXj8L1G4bKzFs1rBYL5vEZ/hfE472gxCyYQbEdeoTXevmQemPToR8C+QT7kxI2 wNcXh8rdUQpW6V3QoeDx0c/UINMFP3pcl8WuMwvgZzn3pc1IcfTrLkx50FispZN+yGzP JPRG4szMcl/pXkRj31yg18HDqUaakLyHJBNRwPEdukKpKUWNBV+eR+vgAERzXP6OBJF3 4sywfTxHg6+AT5/WflVbKsre0y/z3QF7xiiZeLRLIApIaU4NBLGPc/myszzMuDAzgU+c /R4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:references :cc:to:from:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=aJVvBE4SP5c8uAtSdDAuWAVhLtX7ZDGEDfCptajDH6k=; fh=cZxW/+dTk18x1sSkB2BBnfLsppU9WWTrhxhvEe2i1Rw=; b=V2L2EH4TESHAXQmmR5OSr5OZaBg7VlYuo6Vl0Ot1V6SELPSiJRhOmX9z+7ziTkERZu QgoZ4ZA14X7DXEFjAnnJdiSv198Y7paCrh9VaU2xfbBNZSp7myJm+iIi0DLcPclQ4uAi +kYQhQBbJ5nybb+8NvTK8eUm6vmxAMkbeHxs+XrCcIydMAuld7jrQF+bUHOWJBzsSOPf jOe1Uq4IhzuwayolEQVQZSTxyqNjIRiwyS/+xDiBEmQ0xpa96p2irQUDesIa3Nx9gFM8 dGcOaq23wpleagFfJ2rLtzT6X/vB3E2TElQLqBs2s7g2U5El5raA4gDBlfxkflQ73m1Y IW/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=wFggfl5S; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id x34-20020a634a22000000b005694492c259si6061293pga.282.2023.10.07.10.32.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Oct 2023 10:32:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=wFggfl5S; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 300DC80C055C; Sat, 7 Oct 2023 10:32:56 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344090AbjJGRcx (ORCPT + 99 others); Sat, 7 Oct 2023 13:32:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59642 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344046AbjJGRcw (ORCPT ); Sat, 7 Oct 2023 13:32:52 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 52B16A6; Sat, 7 Oct 2023 10:32:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:References:Cc:To:From:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=aJVvBE4SP5c8uAtSdDAuWAVhLtX7ZDGEDfCptajDH6k=; b=wFggfl5SM9G9zYhKm7l+YGoy21 oqRvLUxgsvRf5bDmcQ3izmplXtWY3KQ+rSU5OYf3uN0FyrbnbgGHok1snt20q59SL5E80/9lu9fy3 1+hElBG2xZM0QUmg66Xjz6GthUS6gJM8a3npbi9fxUaEXk9Sw0X+cQty9L2Hqyr/VV2fT76f4Jpj7 XIUVecYZOwjhq/nwla/GYBYF0dl4Aqis4aZek2MQGSkvAXRVQX/x6gcp8jZYUDHlf8PbQDmtuZL40 3gQF5xrl01yAF1PxvDpHrLgIqxdlqEp5UwtTJea2WleKR3vSnskg7/XNUGXBuaSzWXX5F9URhTlIz cQiQ3Q+Q==; Received: from [50.53.46.231] (helo=[192.168.254.15]) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qpBAO-007lyk-11; Sat, 07 Oct 2023 17:32:40 +0000 Message-ID: Date: Sat, 7 Oct 2023 10:32:37 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: linux-next: Tree for Sep 20 (ppc32: ADB_CUDA Kconfig warning) Content-Language: en-US From: Randy Dunlap To: Michael Ellerman , Stephen Rothwell , Linux Next Mailing List , tanyuan@tinylab.org Cc: Linux Kernel Mailing List , linuxppc-dev , Nicholas Piggin , Christophe Leroy References: <20230920133714.351f83f9@canb.auug.org.au> <87il83m5k0.fsf@mail.lhotse> <47afe095-0dd9-47bc-a4d1-dcd66f87ac7c@infradead.org> In-Reply-To: <47afe095-0dd9-47bc-a4d1-dcd66f87ac7c@infradead.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_NONE 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Sat, 07 Oct 2023 10:32:56 -0700 (PDT) Hi Michael, On 9/21/23 21:51, Randy Dunlap wrote: > > > On 9/21/23 17:10, Michael Ellerman wrote: >> Randy Dunlap writes: >>> On 9/19/23 20:37, Stephen Rothwell wrote: >>>> Hi all, >>>> >>>> Changes since 20230919: >>>> >>>> The mm tree lost its boot warning. >>>> >>>> The drm-misc tree gained a conflict against Linus' tree. >>>> >>>> Non-merge commits (relative to Linus' tree): 6006 >>>> 3996 files changed, 459968 insertions(+), 111742 deletions(-) >>>> >>>> ---------------------------------------------------------------------------- >>> >>> 4 out of 10 randconfigs have this warning: >>> >>> WARNING: unmet direct dependencies detected for ADB_CUDA >>> Depends on [n]: MACINTOSH_DRIVERS [=n] && (ADB [=n] || PPC_PMAC [=y]) && !PPC_PMAC64 [=n] >>> Selected by [y]: >>> - PPC_PMAC [=y] && PPC_BOOK3S [=y] && CPU_BIG_ENDIAN [=y] && POWER_RESET [=y] && PPC32 [=y] >>> >>> WARNING: unmet direct dependencies detected for ADB_CUDA >>> Depends on [n]: MACINTOSH_DRIVERS [=n] && (ADB [=n] || PPC_PMAC [=y]) && !PPC_PMAC64 [=n] >>> Selected by [y]: >>> - PPC_PMAC [=y] && PPC_BOOK3S [=y] && CPU_BIG_ENDIAN [=y] && POWER_RESET [=y] && PPC32 [=y] >>> >>> WARNING: unmet direct dependencies detected for ADB_CUDA >>> Depends on [n]: MACINTOSH_DRIVERS [=n] && (ADB [=n] || PPC_PMAC [=y]) && !PPC_PMAC64 [=n] >>> Selected by [y]: >>> - PPC_PMAC [=y] && PPC_BOOK3S [=y] && CPU_BIG_ENDIAN [=y] && POWER_RESET [=y] && PPC32 [=y] >> >> Crud. Caused by: >> >> a3ef2fef198c ("powerpc/32: Add dependencies of POWER_RESET for pmac32") >> >> I was suspicious of that select, I should have been *more* suspicious :) >> >> I think this is a fix. The PPC32 isn't needed because ADB depends on (PPC_PMAC && PPC32). > > Yes, that fixes the problem. Thanks. > > Tested-by: Randy Dunlap > Acked-by: Randy Dunlap > Will you be merging this fix? Thanks. >> >> diff --git a/arch/powerpc/platforms/powermac/Kconfig b/arch/powerpc/platforms/powermac/Kconfig >> index 8bdae0caf21e..84f101ec53a9 100644 >> --- a/arch/powerpc/platforms/powermac/Kconfig >> +++ b/arch/powerpc/platforms/powermac/Kconfig >> @@ -2,7 +2,7 @@ >> config PPC_PMAC >> bool "Apple PowerMac based machines" >> depends on PPC_BOOK3S && CPU_BIG_ENDIAN >> - select ADB_CUDA if POWER_RESET && PPC32 >> + select ADB_CUDA if POWER_RESET && ADB >> select MPIC >> select FORCE_PCI >> select PPC_INDIRECT_PCI if PPC32 >> >> cheers > -- ~Randy