Skip to contentSkip to conversation

Cachable / Non-cachable memory

DISCUSSION [email protected] 1 participant 1 message Jan 28, 2000

lore
Share & tools
lore
#0 lore raw

In arch/ppc/mm/init.c,
the mpc8xx-linux code use map_page(v,p,flags),
to set one memory page to some properities,like _NO_CACHE_PAGE,etc.

[email protected] �� 2000-01-28 17:31:23

�ռ���: [email protected]
���ͣ� �����ͣ�������/Ӳһ/�Ϻ��ڶ��о���/zte_ltd)
���⣺ Cachable / Non-cachable memory

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/