Re: Uncacheable memory?

Philip Blundell (mestery@visi.com)
Wed, 28 Jul 1999 12:42:39 -0500 (CDT)


Hi,

On Wed, 28 Jul 1999, Philip Blundell wrote:

> >I checked, and this doesn't appear to be implemented for the ARM
> >EBSA-285 architecture. It is #defined to be a plain old ioremap.
>
> Ioremap'd memory is always uncached on ARM. But you need to be careful if you
> use this on "real" (ie non-I/O) memory, especially on the EBSA-285 -- ioremap
> adds in the IO_FUDGE_FACTOR and you will need to subtract it out again.
> Alternatively you could use __ioremap but that might not buy you very much.
>
I think I'm going to use the method the SA1100 fb driver uses to map the
RAM uncacheable. I should be able to make that stuff into a generic
routine I can call to get uncacheable RAM. Thanks.

--
Kyle Mestery			| StorageTek's Storage Networking Group
mestery@visi.com		| http://www.freebsd.org/
mestery@netwinder.org		| http://www.netwinder.org/
	Protect your right to privacy: www.freecrypto.org

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/