Cachable / Non-cachable memory

2 messages, 2 authors, 2000-01-29 · open the first message on its own page

Cachable / Non-cachable memory

From: <hidden>
Date: 2000-01-28 09:31:23

Hi,

how does Linux specify memory regions as cachable and non-
cachable? It is sometimes required to mark mapped memory
regions from devices as non-cachable by the MMU so the PowerPC
does not tune the write/read accesses.

Is there any function or sample driver code in the mpc8xx-linux
2.2.13 code ?

cu Raphael Bossek - http://www.solutions4linux.de/powerpc.html

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Re: Cachable / Non-cachable memory

From: Dan Malek <hidden>
Date: 2000-01-29 04:36:59

raphael.bossek@solutions4linux.de wrote:

how does Linux specify memory regions as cachable and non-
cachable?

Any memory mapping request outside of the range of real
memory is mapped uncached/guarded.  Look at drivers/char/mem.c

Driver requests to ioremap() are mapped uncached/guarded.


	-- Dan

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help