Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2394560lqp; Sun, 24 Mar 2024 17:33:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW5PJp7kaJiO9NGVc8yHYfpfOs0xFYCzQniqe3+4sFQTopOK1QFYfvYG4tiZrnhwDK10YS1Ib/DpSWIH6TspkLId8Je7cA3JlbUOaVzSw== X-Google-Smtp-Source: AGHT+IHnzs2TTkKAsNXUP5f3Rvfbu0BemweQ9zyrOLJZRwzii76K6FrCY3+mhKlXNWRiFxHxDDWO X-Received: by 2002:a05:6a00:80d2:b0:6ea:ad01:3550 with SMTP id ei18-20020a056a0080d200b006eaad013550mr979764pfb.18.1711326837479; Sun, 24 Mar 2024 17:33:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711326837; cv=pass; d=google.com; s=arc-20160816; b=jRImxrn78bfD29QhhAKSQIJk3Rgeq4uUOu/+QR2VfcqtH5VkAXLEpiOXUYcn+djB7w /Y4lkQmc68bV7WiVaKsQJmR/Iv38Tu1JL5vZo2/mbxtmxix/gie674qAUjgRvBLMgK6d GNGzyaudsmL+anB2bFcSarBJWfd5veNsYHg9vjD+/hDEVv8Yt/Rx1GkoGWFAQYdiUd0P ORYHRzx4xVEMg7j+7YmTFzR204LUyH3kHO7Ia8WV6NgDpyasWjJN67DAsE8RBWEsVWUx lKkUl7HIEH2lhHBqaKaoAY+nWfJ4m1tjoMraBJT5nbWTaWAT02IFyhiXmXDej/qwqVI1 XnRw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=p7FbVu8OeM7c0JxsVd2WfT0LuXmj2hbWdcuuQyiKc4w=; fh=nvsT4zzwlInPQ7aD9gC7jsC5UQO0Wq2RK4B+gYqhKGo=; b=xyvuTtBgODfRy+NSUchnFLf46+bjGA+8sC53hQOCMOy5azxxFXOr5/AOC0QffaphpE AwFpIuyC5qRw+EpQyyC7gOuKjO9frWHcgPd6qr5YYQNfj8Jml0PkREnljBjukVJNOIS6 rthfaqMmN9Ck3rS2188/dLMIQ1G2bmofp4dU4cb3AtizsV8LkFaM7N7elCmJUtpq2ynY SAaqUD2RQ/vrIsy7BeRVQuCm4d7iqxbLsLad4nXhBtljv0w97NZ0xYIoQmA+iBoYVKQK PxNkBYvlAsaBjare3t/eJLYGXRoruBDTyZo0o6NgZBZfpGwchkPTZ0nf9RP3x8xoqngl HzZg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZZtziJiL; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113391-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113391-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id lb14-20020a056a004f0e00b006e6b04dddb9si4075948pfb.4.2024.03.24.17.33.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Mar 2024 17:33:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-113391-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZZtziJiL; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113391-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113391-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 4F274283A8B for ; Mon, 25 Mar 2024 00:25:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A32AD6F077; Sun, 24 Mar 2024 22:43:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ZZtziJiL" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BB75A1A2146; Sun, 24 Mar 2024 22:43:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711320192; cv=none; b=poajXZllYqAoo4lvmHao5ksEswreQy6NqrgSz61QrjaZeE2GnQ89Zjc5Zmr8uH3FlKCZ/XqsZ0tPCiZUVGQKug/aYBiFbHeV5WGeQL1lwAq7BwEeO60W3XtSEGohdm/lQ2cEUznYDwgjCE+Nb0Vy1ZOoyBIdCg3iCCmdUyys8+w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711320192; c=relaxed/simple; bh=c4K8ZsQm+zOTS2fUOLLnP8gSNrKbnjB+6Do1gx198Co=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=mBZEbaPM4fkRQaTMd1aOGbJfvUqlFq63ieDLItqbIUYyJx4mVu4tbMiUoGFLYqapz4pIhhEq3lCl5gzxN4XeUrmscBN8pWBRMQOqCq+RQ6P2TtpC/Pz7VW9iYGJ6aWI3we7YN6Zr91/35wCQZUDg8P1ywRJwR6Pp5/OzQ/Q2f2A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ZZtziJiL; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 06932C43390; Sun, 24 Mar 2024 22:43:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711320192; bh=c4K8ZsQm+zOTS2fUOLLnP8gSNrKbnjB+6Do1gx198Co=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZZtziJiLqA7yiuOuZaps73gHlQvSu/hEygO9Hzug/ioNgm4WrQVcjGwA8vvOBwHdE U6E71KZlAhJSjdNYkALgid//BpEi8XHmSadkbccVo8UWsTK+jzJh15svXFD8w5188k 7taS0lduE5QlMYAUXnAuAqGw4qCz30CyJYiJ5JgSKcH8s5O5qgEGHVRw0xxwwdIo06 R3nvpRq5Yia0sw6V/DZXO2P9URdT6mZv8Hj0+cUuACSdK26qzTILW4r6HV6kQsgtYN FmYDSL/RQsuJCyz4vEt9anM9mskcOMxP67M4by0b4vSSR5CtkD6Ylob1XAkyQoOxTN FMJxCBvFibNtQ== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Michael Ellerman , Randy Dunlap , Sasha Levin Subject: [PATCH 6.8 500/715] powerpc/32: fix ADB_CUDA kconfig warning Date: Sun, 24 Mar 2024 18:31:19 -0400 Message-ID: <20240324223455.1342824-501-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240324223455.1342824-1-sashal@kernel.org> References: <20240324223455.1342824-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit From: Michael Ellerman [ Upstream commit b72c066ba85a131091498a15a62d6068997278a4 ] Fix a (randconfig) kconfig warning by correcting the select statement: 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] The PPC32 isn't needed because ADB depends on (PPC_PMAC && PPC32). Fixes: a3ef2fef198c ("powerpc/32: Add dependencies of POWER_RESET for pmac32") Signed-off-by: Randy Dunlap Tested: Randy Dunlap Signed-off-by: Michael Ellerman Link: https://msgid.link/20240211221623.31112-1-rdunlap@infradead.org Signed-off-by: Sasha Levin --- arch/powerpc/platforms/powermac/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/platforms/powermac/Kconfig b/arch/powerpc/platforms/powermac/Kconfig index 8bdae0caf21e5..84f101ec53a96 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 -- 2.43.0