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

Daniel Walker dwalker at codeaurora.org
Fri Jan 29 09:33:54 EST 2010


On Fri, 2010-01-29 at 10:59 +0000, Catalin Marinas wrote:
> On Thu, 2010-01-28 at 22:59 +0000, Daniel Walker wrote:
> > @@ -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
> 
> I thought we want to move these out of the kernel into the boot loader
> (or boot monitor or bios or whatever it's called).

I left it in cause it still felt like an open question the last time I
submitted it ..

Honestly, I feel like we should keep as much control in Linux as
possible.. Having it in Linux is just one place for it to get screwed
up, vs. having it in many different boot loaders.

Daniel




More information about the linux-arm-kernel mailing list