From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail1.windriver.com (mail1.windriver.com [147.11.146.13]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail1.windriver.com", Issuer "Intel External Basic Issuing CA 3A" (not verified)) by ozlabs.org (Postfix) with ESMTPS id B6804B6EEC for ; Wed, 14 Mar 2012 16:09:57 +1100 (EST) Message-ID: <4F602822.1090503@windriver.com> Date: Wed, 14 Mar 2012 13:09:54 +0800 From: "tiejun.chen" MIME-Version: 1.0 To: hellohello Subject: Re: How to make a memory region to be cache disabled ? Cpu is mpc82XX or mpc83XX. References: In-Reply-To: Content-Type: text/plain; charset="UTF-8" Cc: linuxppc-dev@lists.ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , hellohello wrote: > How to make a memory region to be cache disabled in linux? > I'm porting mpc83XX from vxworks to linux. Now meet a question: Cpu use a memory region (GPCM mode of bus) to access peripherals, we need this memory to be cache disabled. > Linux Kernel is 2.6.25. > Thanks very much for any hint! ioremap() is fine enough since it always set I|G as TLB entry attribute. Tiejun