[PATCH] ARM: imx: disable cpu in .cpu_kill hook

Shawn Guo shawn.guo at linaro.org
Mon Jan 14 09:00:26 EST 2013


On Mon, Jan 14, 2013 at 07:55:36AM -0600, Rob Herring wrote:
> Can't you do:
> 
> set_cr(get_cr() | CR_C);
> 
Yes, this is nice.  But I'm taking Russell's suggestion to remove
the recovery piece, which is unnecessary for imx6q.

Shawn

> > +	"	mrc	p15, 0, %0, c1, c0, 1\n"
> > +	"	orr	%0, %0, %2\n"
> > +	"	mcr	p15, 0, %0, c1, c0, 1\n"
> 
> Setting or clearing the SMP bit is showing up in multiple places
> (big.LITTLE series, Tegra cpuidle). I did inline versions of
> set_auxcr/get_auxcr for highbank cpuidle. We should be make those common.
> 




More information about the linux-arm-kernel mailing list