Re: cache policy of arm mmu

h.t.jacky@gmail.com h.t.jacky at gmail.com
Tue May 29 00:39:44 EDT 2012


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 at gmail.com>
To: "Jacky lin" <h.t.jacky at gmail.com>
Cc: <kernelnewbies at 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 at 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 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 


More information about the Kernelnewbies mailing list