Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp301105pxm; Wed, 2 Mar 2022 15:51:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJwK0Zh82Vez8qs5iBofL/bgGHi/ADF4ioWkwScmXDcyNPfvnWf79sxq4RoKIJZIaCWFosI3 X-Received: by 2002:a65:6803:0:b0:378:9366:3849 with SMTP id l3-20020a656803000000b0037893663849mr15329485pgt.484.1646265071531; Wed, 02 Mar 2022 15:51:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646265071; cv=none; d=google.com; s=arc-20160816; b=jP9dq2nxTyQsXqiPA4B3j7IjSdNuG4FB1pTJhvPQCyrabObHXGmzIvAYGR8vFfZhmp AjHPU3E54qg1stTNpbPThEgICa3qBgNyD8IlP54U5B12KVRbq4y9EbO3EMB5QBDa/NU+ nz/LgUKSvRo4f9LRoU6z27+tsLGSQANO4TzLGow4bG9Irvzk8ieK56nAODSsPZYJAZtD NaJWDFK9vf7oKBTSXwKX+if8C/Ujf4dWV5pRNHdmMyrNgzm45sG2DODmJl+kCf7kVyqR xtJ0opnGLhU8TU42VmzYaYVhQakDPMYZnUq29hXq3f2wAjkrxSSQBfI068bTc7Ye1q6s rBOw== 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=jrS89nIkEZQuCvb4ic/tLTkzAzeYJTAoXhI52vlhm48=; b=xdPWiifj44GuaGq9MrVzZDW5UILhkXuLu1+LAD6fgD7py01kx4oPtPiZEq573BrgiW H3JW3oZPSavjn7ZHLl6ZYdLx4H2L8GZ6R91Cysl9IKtbTUniVAc/VAtAvUQIR3zJm+ww c6QjYD3dC8wI7B/prcguhF7H0ta6hmYAXaUTZ6yZVeQgrrKhbXq9ZXS9tH/ZVOPFjeAL 4A3qLX6vsmmwHqrnX1aBltSMf0jGITDtDS/fWlJKurkUe8hdtE6apv3caS7GhY9wFSrL 6Ca0x294NCYVkUyiegv5zhL5I3QZCxqfvBexGIXWcERLI7cofjuLjYmD/82exxnKJbNy dfJA== 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:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id i16-20020a17090332d000b0014ff4aa2319si483095plr.115.2022.03.02.15.51.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Mar 2022 15:51:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0E730C9921; Wed, 2 Mar 2022 15:13:11 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239544AbiCBEpk (ORCPT + 99 others); Tue, 1 Mar 2022 23:45:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40558 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239434AbiCBEp3 (ORCPT ); Tue, 1 Mar 2022 23:45:29 -0500 Received: from relay11.mail.gandi.net (relay11.mail.gandi.net [217.70.178.231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C5033B12E1 for ; Tue, 1 Mar 2022 20:44:45 -0800 (PST) Received: (Authenticated sender: ash@heyquark.com) by mail.gandi.net (Postfix) with ESMTPSA id 4E1BD100006; Wed, 2 Mar 2022 04:44:37 +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 Subject: [PATCH 05/12] powerpc: wiiu: declare as non-coherent Date: Wed, 2 Mar 2022 15:43:59 +1100 Message-Id: <20220302044406.63401-6-ash@heyquark.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220302044406.63401-1-ash@heyquark.com> References: <20220302044406.63401-1-ash@heyquark.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 a208997ade88..bec8293a7985 100644 --- a/arch/powerpc/platforms/Kconfig.cputype +++ b/arch/powerpc/platforms/Kconfig.cputype @@ -485,7 +485,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.35.1