Memory type used for ioremap
Russell King - ARM Linux
linux at arm.linux.org.uk
Fri Jul 9 10:14:16 EDT 2010
On Fri, Jul 09, 2010 at 07:32:46PM +0530, Pedanekar, Hemant wrote:
> I was trying to map peripheral region (memory mapped) nd faced problem with w
> This prompted me to check if there were any differences in mapping the region
> As per ARM ARM, TEX=0 is "Strongly-ordered" while TEX=1 is "Normal" memory ty
It'd help if I could see more of your mail than just the above when
replying to it. Please wrap your messages rather than typing entire
paragraphs on one single line.
<save this message, go back and read your original, re-edit reply>
I think your problem might be to do with how the interconnects work.
Each different memory type can have a different memory map. If your
peripheral is _only_ visible via the strongly ordered memory type,
then it won't be visible via (shared or non-shared) device or memory
We have had devices in the past where certain peripherals are only
visible via non-shared device mappings. Could this be one of them?
Without knowing more about the device you're using, in particular
how the bus matrix is setup, there's no way to comment definitively.
What does the documentation for your device say about the type of
mappings required for this peripheral?
More information about the linux-arm-kernel