From patchwork Sun Nov 22 22:01:38 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Albert Herranz X-Patchwork-Id: 39006 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from bilbo.ozlabs.org (localhost [127.0.0.1]) by ozlabs.org (Postfix) with ESMTP id 0108C10241D for ; Mon, 23 Nov 2009 09:03:50 +1100 (EST) Received: from smtp106.mail.ukl.yahoo.com (smtp106.mail.ukl.yahoo.com [77.238.184.38]) by ozlabs.org (Postfix) with SMTP id 3970F100809 for ; Mon, 23 Nov 2009 09:02:07 +1100 (EST) Received: (qmail 97152 invoked from network); 22 Nov 2009 22:02:06 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.es; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:From:To:Cc:Subject:Date:Message-Id:X-Mailer:In-Reply-To:References; b=bVKK3hhrP9Q7jvPt3XgHNgIuuRtBiTwS85vo84WFeoJ5Gb0WsMCDyB4lbMLzr6bikl87YYOAPbyuPAf7cjlyi6wbSwX+BaC4vN4wWQOWZHUbzi5pjBYsihG4hvLD3qlFUXcrF3WUYNadyFvH0TMShZW+ZPU0qaL1eyn4y/Jmjv0= ; Received: from 59.Red-88-24-158.staticIP.rima-tde.net (albert_herranz@88.24.158.59 with login) by smtp106.mail.ukl.yahoo.com with SMTP; 22 Nov 2009 22:02:06 +0000 GMT X-Yahoo-SMTP: czee06uswBAtfIYshc.kP27UlfEXaxwWNSjJ X-YMail-OSG: 1OFzGpUVM1nugnD0.alb382Hx2Qbdpgl2IwYdyluUSm4cs2uZIPTlzPtwMbhgS6AiekG5Y9CHmAUD4.UONkjX3SoB33qd4Ydl9g2Jkk91WFHT0iOC_Q6AAxAgw4LjgKGIK_CEauMe6zLiyxJCXEqoo4ORoqw_xBw2ZvLfdm58Nv_0jHY.F.sFXnJvmpkLV0D2Df5piiFAWssxM4yGvav12J.H.mb3M.8CtoNmuuM.BKxlnpyg.jjy32Uq1nR4D8GKntYhntPaGyFgiEZdogGxM3y9iTvJ7nZtHCleSydJ3Fp2VcHE7xlr56TVg0ioFCv_rywOqNt5fSFBQllcUtpWKg- X-Yahoo-Newman-Property: ymail-3 From: Albert Herranz To: linuxppc-dev@lists.ozlabs.org Subject: [RFC PATCH 07/19] powerpc: gamecube/wii: declare as non-coherent platforms Date: Sun, 22 Nov 2009 23:01:38 +0100 Message-Id: <1258927311-4340-8-git-send-email-albert_herranz@yahoo.es> X-Mailer: git-send-email 1.6.3.3 In-Reply-To: <1258927311-4340-7-git-send-email-albert_herranz@yahoo.es> References: <1258927311-4340-1-git-send-email-albert_herranz@yahoo.es> <1258927311-4340-2-git-send-email-albert_herranz@yahoo.es> <1258927311-4340-3-git-send-email-albert_herranz@yahoo.es> <1258927311-4340-4-git-send-email-albert_herranz@yahoo.es> <1258927311-4340-5-git-send-email-albert_herranz@yahoo.es> <1258927311-4340-6-git-send-email-albert_herranz@yahoo.es> <1258927311-4340-7-git-send-email-albert_herranz@yahoo.es> Cc: Albert Herranz X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org The processors bundled in the Nintendo GameCube and Wii video game consoles require explicit cache handling when DMA engines are used. Signed-off-by: Albert Herranz --- arch/powerpc/platforms/Kconfig.cputype | 2 +- arch/powerpc/platforms/embedded6xx/Kconfig | 1 + 2 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/platforms/Kconfig.cputype b/arch/powerpc/platforms/Kconfig.cputype index e382cae..80d934b 100644 --- a/arch/powerpc/platforms/Kconfig.cputype +++ b/arch/powerpc/platforms/Kconfig.cputype @@ -312,7 +312,7 @@ config NR_CPUS config NOT_COHERENT_CACHE bool - depends on 4xx || 8xx || E200 || PPC_MPC512x + depends on 4xx || 8xx || E200 || PPC_MPC512x || GAMECUBE_COMMON default y config CHECK_CACHE_COHERENCY diff --git a/arch/powerpc/platforms/embedded6xx/Kconfig b/arch/powerpc/platforms/embedded6xx/Kconfig index 97a2dbc..31487e4 100644 --- a/arch/powerpc/platforms/embedded6xx/Kconfig +++ b/arch/powerpc/platforms/embedded6xx/Kconfig @@ -93,4 +93,5 @@ config MPC10X_STORE_GATHERING config GAMECUBE_COMMON bool + select NOT_COHERENT_CACHE