Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3807747rdb; Thu, 14 Sep 2023 03:22:21 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEnBuTOFugebbXZwoPS352MyL/jHCP1pZO48DUR2UU8KMfQqm9ny8HpKsyRwJT9WSOh7Q7U X-Received: by 2002:a17:902:ee41:b0:1c4:1538:8606 with SMTP id 1-20020a170902ee4100b001c415388606mr659515plo.27.1694686941600; Thu, 14 Sep 2023 03:22:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694686941; cv=none; d=google.com; s=arc-20160816; b=HpqNcUEywNEZZmCbKEM1B608hMpuStddp22O6iS6MBX5gttSwev8JxZ3N+lFjvllPZ sHGxWohB7tALH+60Vj7FP+FScJb1YLD3o0doG1w1lRovEdJXO5PCgbqH5le7OZwxombc dPxxkcSBi6k3T71MrBDhEGVz4PgMD266gcWdhtvCMYR0/JieQUrHVvcxIOQnIk8fRRlF eKuaqlcgAbDTliVhB0fZvTDmrZ7qeEBs7W/QCPHsufyZGN7gWVSK+v8Z8ExiGCB3Wqfu SPczimWTaiTpMB2cekbDPeyjdq21NAhcO38M2pXHwoHXmF3Y1YV0WbrSXhi54uUBYlej AvOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:feedback-id:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from; bh=pii2auhchCE8V1OnFPy/A0zPj1ZAnA9h+hkelYFlZ0k=; fh=E3oKi/bvKnah2RdGqJC67KLNj5+C7k2ouMcJwMdsiOY=; b=hBlwx/mAaxa44G8ObMPid1x2vXisH0T5Kc9g16WwzPvVqgzYPaVE3h5ZlFgat0EeEc 3fVhNESCrakqxlqc57ZOqMdU7meXdQhw149zQ73pNjLoIGrjQeNhmK0Y6yKlwKTl0b18 chxh4dONJENAorwVwVAPwDP/lYSZB8peTalI70soxbBAiK0jWUwLkJAth0dRaKbXtk9I S4QdkYzbRBrjxQXCjRia+zZzJcXdGLhqTwR/wTqtNu+GP0GdD/N/5va643VzkfrParwW FecD2JYLM9Iw4roAiPI4m2O9qS95jnjDjvR7BeEH4IUIq74ein225tQZ7GT8yuyhrtgO sO8Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id b17-20020a170902d51100b001bb23874273si1451983plg.220.2023.09.14.03.22.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 03:22:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (Postfix) with ESMTP id DD5738095659; Thu, 14 Sep 2023 03:10:59 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237957AbjINKK6 (ORCPT + 99 others); Thu, 14 Sep 2023 06:10:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51616 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237510AbjINKK5 (ORCPT ); Thu, 14 Sep 2023 06:10:57 -0400 Received: from bg4.exmail.qq.com (bg4.exmail.qq.com [43.155.65.254]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BFFA01BE7 for ; Thu, 14 Sep 2023 03:10:52 -0700 (PDT) X-QQ-mid: bizesmtp80t1694686235tv24onfr Received: from main2-ubuntu.tail147f4.ts.net ( [202.201.15.117]) by bizesmtp.qq.com (ESMTP) with id ; Thu, 14 Sep 2023 18:10:33 +0800 (CST) X-QQ-SSF: 01200000000000907000000A0000000 X-QQ-FEAT: D2GZf6M6C/jEf5dgdkfxbCYflqBn47liM3u22OICM3qFIgIPe30JgWG0WdUMP nzAwwCET4MeQPZtn7NJpNiRKgSuxBj9mFB8uAOuE8SbteXuCMyBqMmEaJELI4A66py1/EfO XJuPE8DnDTzcVtNCOReTcSor/gmRd3Q6QIKmLzaWAtuxzo79qaXuHDefWG2U1DSvl9oLglN cXRwYQBmbazi8IJRg73ZewaEXX9oJRrozUPmZOXSOAn6yh3dqgZmq59VrTt9fSafFbHBHDO Z4+7neDlTrK0toV//xbK7bL/wG6zNdVmnsvhp5YB+NaBgwo3lQHTnb38Yf5iJcw6NfWIfTa DIQCuW6fh4C/TvuIOf4WwKYGs2oz+912Rc+osCQe9UVrIojgAUe5Rmip+6f7g== X-QQ-GoodBg: 0 X-BIZMAIL-ID: 4024459364246311610 From: Yuan Tan To: mpe@ellerman.id.au, christophe.leroy@csgroup.eu Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, falcon@tinylab.org, w@1wt.eu, linux@weissschuh.net, tanyuan@tinylab.org Subject: [PATCH v3 2/3] Kconfig: Add dependencies of POWER_RESET for pmac32 Date: Thu, 14 Sep 2023 18:10:31 +0800 Message-Id: <0cca5d5afb6c4a1b78648e98339b4b7c9def46d5.1694685860.git.tanyuan@tinylab.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:tinylab.org:qybglogicsvrgz:qybglogicsvrgz5a-1 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 (agentk.vger.email [0.0.0.0]); Thu, 14 Sep 2023 03:11:00 -0700 (PDT) X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email pmac32's power off depends on ADB_CUDA to work. Enable it when POWER_RESET is set for convenience. Suggested-by: Zhangjin Wu Signed-off-by: Yuan Tan --- arch/powerpc/platforms/powermac/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/platforms/powermac/Kconfig b/arch/powerpc/platforms/powermac/Kconfig index 130707ec9f99..8bdae0caf21e 100644 --- a/arch/powerpc/platforms/powermac/Kconfig +++ b/arch/powerpc/platforms/powermac/Kconfig @@ -2,6 +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 MPIC select FORCE_PCI select PPC_INDIRECT_PCI if PPC32 -- 2.34.1