Hi Cunsuo, Thanks for you prompt reply. But I'm just wondering why the other policies(such as writethrough) are abandoned, does anyone know the architecture difference? Cheers, Jacky Sent from my HTC ----- Reply message ----- From: "Cunsuo Guo" <cunsuo.guo@gmail.com> To: "Jacky lin" <h.t.jacky@gmail.com> Cc: <kernelnewbies@kernelnewbies.org> Subject: cache policy of arm mmu Date: Tue, May 29, 2012 09:10 Hi Jacky, I think the information of printk has already tell us the reason. 2012/5/29 Jacky lin <h.t.jacky@gmail.com>:
Hi all,
I found that the cache policy in after ARMv6 is always set as writeback mode in mmu.c.
static int __init early_cachepolicy(char *p) { ... if (cpu_architecture() >= CPU_ARCH_ARMv6) { printk(KERN_WARNING "Only cachepolicy=writeback supported on ARMv6 and later\n"); cachepolicy = CPOLICY_WRITEBACK; } ... }
Does anyone know why and provide some documents or links for that?
Thanks so much!
Cheers, Jacky
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies