Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp4811304iog; Wed, 22 Jun 2022 06:23:48 -0700 (PDT) X-Google-Smtp-Source: AGRyM1s+hp7dSElvi6TXw2kVuTjgl3pEuBjd+0OBmZEArY9Y/iMTlPzU/E99GA4bRIfeIJNtU82t X-Received: by 2002:a17:903:186:b0:167:6d8c:68ce with SMTP id z6-20020a170903018600b001676d8c68cemr34457230plg.153.1655904228496; Wed, 22 Jun 2022 06:23:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655904228; cv=none; d=google.com; s=arc-20160816; b=fuqL2m4SKqZXzKbtDomjz0T3Xf62k+iPxdF/kLrP7UqXS9tZd16Gpd3Ni5dAOm1dMj GneFW5r/l9j+i6/QInmc2D9gf5QUmIZg09ogjs9LllDlo6bCenJ5JqKjxDu3rraSVGOw JvDrn+/V8+cBw8T5XETJssokJBCDnP/plnXdqG/tMaZIZESiRYEMveGGqeTBsP7vwiIv mX/phSyPh5AwBXid97HkJ4mVmrE4KzynrZifA1NlAMwCKkMpU2BE6dlJ+BuykUI1li97 JZIqd2OYvOlGzoJGiSUxAI4IiTpzWkY3IBdxk8FHexLcF+qXzmu/0X+bf7pk8pUZJJ+I 2Rdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=DRcl2+WHnfnLClPQzd0dmLIQvroZ/JO6Qmj4Tlk1KLg=; b=oHOWhPtHSzXo4W3QD5g4wddDdPwqYvnfAHQTJ0RCQDpPrLSZBxpXXisEi/vQKgCU+W sgweKNgTofrssTSHZnGk2e5t3NNJSi5F8OlbEM+W+XPcGvkRKV1wGJJg75Oh7z1XP2C6 YZV6sdjUEkf/sWZFOi0WX5bITOtqgiTVQDK1aBXdfo6wTbtp8gu3bjmd4z6wVT+49yaa czwNl0fnph3ySQQUffj+4o6EfPmaSt3bxYDCjOHPtk5RcYPHZX1PofYI3Nv4jao7SH0t k9z3ScQcSf3wjYcqv8nt5AwDJw0UODCfr5tNX2HgkApv7LhiNsOm1184JmCzjITI88Vx KMzA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z15-20020a056a00240f00b0051bcab048ecsi25441881pfh.178.2022.06.22.06.23.34; Wed, 22 Jun 2022 06:23:48 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1354358AbiFVNLn (ORCPT + 99 others); Wed, 22 Jun 2022 09:11:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33234 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353459AbiFVNLg (ORCPT ); Wed, 22 Jun 2022 09:11:36 -0400 Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6D257369DB; Wed, 22 Jun 2022 06:11:29 -0700 (PDT) Received: (Authenticated sender: ash@heyquark.com) by mail.gandi.net (Postfix) with ESMTPSA id 90DD0FF81A; Wed, 22 Jun 2022 13:11:19 +0000 (UTC) From: Ash Logan To: paulus@samba.org, mpe@ellerman.id.au, christophe.leroy@csgroup.eu, robh+dt@kernel.org, benh@kernel.crashing.org Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, j.ne@posteo.net, linkmauve@linkmauve.fr, rw-r-r-0644@protonmail.com, devicetree@vger.kernel.org Subject: [PATCH v2 05/12] powerpc: wiiu: declare as non-coherent Date: Wed, 22 Jun 2022 23:10:30 +1000 Message-Id: <20220622131037.57604-6-ash@heyquark.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220622131037.57604-1-ash@heyquark.com> References: <20220302044406.63401-1-ash@heyquark.com> <20220622131037.57604-1-ash@heyquark.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 The Nintendo Wii U requires explicit cache handling when interfacing with DMA devices. Signed-off-by: Ash Logan --- arch/powerpc/platforms/Kconfig.cputype | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/platforms/Kconfig.cputype b/arch/powerpc/platforms/Kconfig.cputype index e2e1fec91c6e..fd1e82603278 100644 --- a/arch/powerpc/platforms/Kconfig.cputype +++ b/arch/powerpc/platforms/Kconfig.cputype @@ -504,7 +504,7 @@ config NR_CPUS config NOT_COHERENT_CACHE bool depends on 4xx || PPC_8xx || PPC_MPC512x || \ - GAMECUBE_COMMON || AMIGAONE + GAMECUBE_COMMON || AMIGAONE || WIIU select ARCH_HAS_DMA_PREP_COHERENT select ARCH_HAS_SYNC_DMA_FOR_DEVICE select ARCH_HAS_SYNC_DMA_FOR_CPU -- 2.36.1