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

tiejun.chen tiejun.chen at windriver.com
Wed Mar 14 16:09:54 EST 2012


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


More information about the Linuxppc-dev mailing list