From mboxrd@z Thu Jan 1 00:00:00 1970 From: h.t.jacky@gmail.com (=?utf-8?B?aC50LmphY2t5QGdtYWlsLmNvbQ==?=) Date: Tue, 29 May 2012 12:39:44 +0800 Subject: =?utf-8?B?UmU6IGNhY2hlIHBvbGljeSBvZiBhcm0gbW11?= Message-ID: <4fc45311.a7c4440a.3ad9.ffff92b2@mx.google.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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" To: "Jacky lin" Cc: 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 : > 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 at kernelnewbies.org > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120529/b5d2503a/attachment.html