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

3 messages, 3 authors, 2012-03-14 · open the first message on its own page

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

From: hellohello <hidden>
Date: 2012-03-14 02:53:01

SG93IHRvIG1ha2UgYSBtZW1vcnkgcmVnaW9uICB0byBiZSBjYWNoZSBkaXNhYmxlZCBpbiBsaW51
eD8NCkknbSBwb3J0aW5nIG1wYzgzWFggZnJvbSB2eHdvcmtzIHRvIGxpbnV4LiBOb3cgbWVldCBh
IHF1ZXN0aW9uOiBDcHUgdXNlIGEgbWVtb3J5IHJlZ2lvbiAoR1BDTSBtb2RlIG9mIGJ1cykgIHRv
IGFjY2VzcyBwZXJpcGhlcmFscywgd2UgbmVlZCB0aGlzIG1lbW9yeSB0byBiZSBjYWNoZSBkaXNh
YmxlZC4NCkxpbnV4IEtlcm5lbCBpcyAyLjYuMjUuDQpUaGFua3MgdmVyeSBtdWNoIGZvciBhbnkg
aGludCEgDQoNCg==

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

From: Vineeth <hidden>
Date: 2012-03-14 04:34:39

You can disable the cache with the help of TLBs. See where it is creating
TLBs for the memory regions for that processor.

On Wed, Mar 14, 2012 at 8:07 AM, hellohello [off-list ref] 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!

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

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

From: tiejun.chen <hidden>
Date: 2012-03-14 05:09:57

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help