Memory type used for ioremap

Pedanekar, Hemant hemantp at ti.com
Fri Jul 9 11:41:11 EDT 2010


Thanks for the clarification, I totally missed TRE setting.

(Regarding MMR, I wanted to say Memory Mapped peripheral registers.)

[...]
> On ARMv7 (which Cortex A8 is) with TEX remapping, we arrange for this bit
> combination to be 'device' and the shared-ness of the mapping depends on the S
> bit.

So if TEX[0]=1 with CB=0 is "Device" then what does TEX[0]=0 with CB=0 make the
region?

I am asking this because the first (default) setting didn't work for me
when writing to the mapped region, while setting TEX[0]=0 worked.

I referred the comment in proc-v7.S, but couldn't make out the meaning of
'TEX[0],C,B= 000' (there is just a mention about 'UNCACHED' but with TR-00).

Thanks
-
Hemant


More information about the linux-arm-kernel mailing list