[PATCH v3] ARM: imx: replicate the diagnostic register of boot cpu into secondary cores

Will Deacon will.deacon at arm.com
Wed May 1 12:38:17 EDT 2013


On Wed, May 01, 2013 at 05:19:24PM +0100, Dirk Behme wrote:
> Am 01.05.2013 17:38, schrieb Will Deacon:
> > On Wed, May 01, 2013 at 04:32:14PM +0100, Dirk Behme wrote:
> Just for a better understanding: What's wrong with using the same 
> register values on all CPUx? I.e. with copying them from CPU0? 
> Shouldn't all CPUx use the same setting? Or at least the same errata 
> bits enabled?

There's this thing called big.LITTLE... In this case, we're all A9s, but it
still feels horrible.

> > I'd rather we
> > orr'd in the bits we actually need, like we would in __v7_setup. Perhaps the
> > code there should be factored out into arm_errata_xxxx asm macros,
> 
> I'm not as much in the details as Shawn and you, but it's my 
> understanding that we moved the errata handling recently from the 
> kernel to the boot loader? After this, we now find that the boot 
> loader does the errata handling only for CPU0, and now we start to 
> discuss to move it back to the kernel?

In Shawn's case, I don't think the secondary CPUs execute any code prior to
kernel text, but he can correct me if I'm wrong.

Will



More information about the linux-arm-kernel mailing list