Subject: Re: How to make a memory region to be cache disabled ? Cpu is mpc82XX or mpc83XX.

From: "tiejun.chen" <[email-masked]>
Date: Wed, 14 Mar 2012 13:09:54 +0800

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