Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp2640279rdb; Fri, 22 Sep 2023 04:54:08 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGLLLGZhpgt0MJqCDo9kWEJD5vCGQYQGh1YtA0iVCFUGa/+vCbuuSqL1JDCIrmTRiFbfeP5 X-Received: by 2002:a17:90b:4c89:b0:273:6b28:9e30 with SMTP id my9-20020a17090b4c8900b002736b289e30mr7947132pjb.41.1695383648460; Fri, 22 Sep 2023 04:54:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695383648; cv=none; d=google.com; s=arc-20160816; b=T9U5LqUxdWFcmDN69heqX7KJQQKKkLwSSg/Gktg0lJyUl1Bk+K1NYTZV61UFNRTbxF 8rSaRaEYw3PReKStI7+PQmld1jZjBCiLZsP+V2BNc9TuosdZfjxxkCIwzWGPU+tAyjZh GTkA2KlhItC9+XGbkU6QWftQd/vnULHRBcDKNYuNWdXcustA8snUhN7XAoqnlxS2xTno dWVSvqYcmb4q3M4UtFQ4naFAn+Z1ZsxxOqDTWR4X7LxEGtkBeEPdO0vOdo/dDRNMVlaz L5d5cq3aUMBmNKWVDJReDlcb0PaUGKKTmf2MAvDjMen/RnMus9ETkoJDZu3/r8RroJO8 vqFg== 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:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=jPkRHugyLd5JNXnKoygyDO0rjavXl5/MuIrj9Kx/yBo=; fh=cZxW/+dTk18x1sSkB2BBnfLsppU9WWTrhxhvEe2i1Rw=; b=BL0OOZ4MmWaPNCgWdiYxPZYB5qnKkQTQhkoB0A0GhH+WUf/vZlYC7KuYTBIAucAUTP nGE7ca+PNEqrrOPQvrMmC839poDK5nRlB7hk+cVVnNnEiLELZFDPb7pu3Zp2BbcTlm7q ww2bmgi/uVuhhiTcCpdyX9IAPLWFh1UNvwj3a71Pwsq+/vXZ7yIXkZIZZRVo3jxKZRr+ u6iW9Y5nEzf3YyhI34kQXZWaVp3kb6sPCaw4QNgnm9WjXLvppr82fjjoMCr8cLD6+i8q M76Z+d4jTs4rs0BdNGUUGRhwWywo54IVgi8q2ecFwEXIzzJXu7HWTW27f6IOoBmgVlnF Vygg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=AV5rmBIm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id kg14-20020a170903060e00b001b89b1bae72si3474141plb.528.2023.09.22.04.54.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Sep 2023 04:54:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=AV5rmBIm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (Postfix) with ESMTP id 053EC80D0CFF; Thu, 21 Sep 2023 21:52:26 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230464AbjIVEwQ (ORCPT + 99 others); Fri, 22 Sep 2023 00:52:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229737AbjIVEwN (ORCPT ); Fri, 22 Sep 2023 00:52:13 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F3001AA; Thu, 21 Sep 2023 21:52:02 -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:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=jPkRHugyLd5JNXnKoygyDO0rjavXl5/MuIrj9Kx/yBo=; b=AV5rmBImlt7B6b7fh3c9eoqq0W xnzaV+n1bQ0ZF9qlLfIQHmBJOn7SbOtod6+UWwxd+4AazbgE0i7easbQVx1JzqPPfyRpcb0bHhHiv sPDVOZHH0TfWfhQETrXVdEAFtb2ABQSIVRTQqvn/nF2hFfZqwPpb9Ef2f+mWWJ2OY1/ngrAEk1ZYQ 7RYJOdGTpL3EgwmgajeENIbvxIsixvVzqb0CgSzDHEuveheGLrHpxC+Ck3agpH30IXWNoOiXoRzkj 7ud6JfOkgRToRnd1KyLLOpdDVnIPSWNAifI2vmacg88HuIGixEfI7YA+Y5phTnkTiFpwxdprmN4tu K71S+hrQ==; Received: from [2601:1c2:980:9ec0::9fed] by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qjY8s-007qqE-07; Fri, 22 Sep 2023 04:51:50 +0000 Message-ID: <47afe095-0dd9-47bc-a4d1-dcd66f87ac7c@infradead.org> Date: Thu, 21 Sep 2023 21:51:47 -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 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> From: Randy Dunlap In-Reply-To: <87il83m5k0.fsf@mail.lhotse> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email 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 (morse.vger.email [0.0.0.0]); Thu, 21 Sep 2023 21:52:26 -0700 (PDT) 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 > > 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