[RFC PATCH 06/12] arm: msm: set L2CR1 to enable prefetch and burst on Scorpion.

Pavel Machek pavel at ucw.cz
Fri Jan 29 01:45:01 EST 2010


Hi!

> From: Larry Bassel <lbassel at quicinc.com>
> 
> This change improves the following LMBench benchmarks
> by over 15%:

But what does this change do?

> @@ -242,6 +243,10 @@ __v7_setup:
>  	mcr	p15, 0, r4, c2, c0, 1		@ load TTB1
>  	mov	r10, #0x1f			@ domains 0, 1 = manager
>  	mcr	p15, 0, r10, c3, c0, 0		@ load domain access register
> +#ifdef CONFIG_ARCH_MSM_SCORPION
> +	mov     r0, #0x77
> +	mcr     p15, 3, r0, c15, c0, 3          @ set L2CR1
> +#endif

...probably should be explained here...

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html



More information about the linux-arm-kernel mailing list