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" <[email protected]>
To: "Jacky lin" <[email protected]>
Cc: <[email protected]>
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 <[email protected]>:
> 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
> [email protected]
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
_______________________________________________
Kernelnewbies mailing list
[email protected]
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to