Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1786046rwb; Sat, 19 Nov 2022 03:36:50 -0800 (PST) X-Google-Smtp-Source: AA0mqf4ChAtAAHR9H0wUh9s9ZPp6q6lEgDbP69eUOR7QHBE3k7N3nke2FNBLEF547PaczFv8UZfq X-Received: by 2002:a50:cd59:0:b0:469:87d:e71e with SMTP id d25-20020a50cd59000000b00469087de71emr6030796edj.242.1668857810623; Sat, 19 Nov 2022 03:36:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668857810; cv=none; d=google.com; s=arc-20160816; b=INqbzTAKSsn9vcw3Tm01AzUq7KBu2d4Vb5/+LN5+lYlvI9wcKoADN4zOHoT9csFHQQ 5CR6nKx1q0Q/LVqN2eGzDb7vclwLJHrFk++qRfxeWOv4GJLYB+vG2usEUkXi1njU+fmq ApMP27M0b1IzHWlhFEei2BhxdC28w5+6fdUot7LpRZW1GVFfhXSchJk6ULv73Cs2e/oS oW0E/3F089G8lina5IaW/w5E56BSo7iEUHMJu1menR4EnmME9sPGb0j+UrBeTor3LdK/ V3jDsGR71MhktD+/X9RJC4HicaL28rWHT2JmeitxqbZSOuqCb/4ICCQULaBNE5bcUNH6 Accw== 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=DHurK/IRHwaX5EkEllbLHduYRoH7sMjihmdKRSDlmIU=; b=Q/vOWGTlhtzRdthZK2n8G7L271pcF8rxD7ZHaPbbjgZPem6tMwC/T8DjHuWd8dlG20 zWBlS6orTrePLQDiyeLbvg8SHbO7ObFCBHezQRVxd56CatcYwYE8e+ufopkw5SUXfYn6 aMW+jOrCn8gA3KD00wrkZee/Km6TyPp1UeFJ0nVOYQkqIR2M7Sj9EDDxPj9nZau02Jt1 H9NT1y2+pj0AhIuft/qivJ5HZbXZUuzVb1R/EtqtoQM8zMcrfKhxiuKUlDdFa/5qO6d5 +w4dYvWpK44siWfTNmP6pbEoiBY8dRDO2tPkyfOXqP3kX5h3KQQr+ripsHpriAgkLBS3 IW2A== 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 xg2-20020a170907320200b00780e89ce0b0si5289710ejb.600.2022.11.19.03.36.28; Sat, 19 Nov 2022 03:36:50 -0800 (PST) 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 S234050AbiKSLcH (ORCPT + 90 others); Sat, 19 Nov 2022 06:32:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55000 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232705AbiKSLbr (ORCPT ); Sat, 19 Nov 2022 06:31:47 -0500 Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE77E14036; Sat, 19 Nov 2022 03:31:40 -0800 (PST) Received: (Authenticated sender: ash@heyquark.com) by mail.gandi.net (Postfix) with ESMTPSA id A8A86FF807; Sat, 19 Nov 2022 11:31:28 +0000 (UTC) From: Ash Logan To: krzysztof.kozlowski+dt@linaro.org, paulus@samba.org, mpe@ellerman.id.au, christophe.leroy@csgroup.eu, robh+dt@kernel.org, benh@kernel.crashing.org, segher@kernel.crashing.org, pali@kernel.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, joel@jms.id.au Subject: [PATCH v4 05/11] powerpc: wiiu: declare as non-coherent Date: Sat, 19 Nov 2022 22:30:35 +1100 Message-Id: <20221119113041.284419-6-ash@heyquark.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221119113041.284419-1-ash@heyquark.com> References: <20220628133144.142185-1-ash@heyquark.com> <20221119113041.284419-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 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 0c4eed9aea80..ae1ee77705ea 100644 --- a/arch/powerpc/platforms/Kconfig.cputype +++ b/arch/powerpc/platforms/Kconfig.cputype @@ -522,7 +522,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.38.1