[PATCH 08/16] ARM: bL_platsmp.c: make sure the GIC interface of a dying CPU is disabled
Lorenzo Pieralisi
lorenzo.pieralisi at arm.com
Mon Jan 14 12:56:15 EST 2013
On Mon, Jan 14, 2013 at 05:24:01PM +0000, Will Deacon wrote:
> On Mon, Jan 14, 2013 at 05:18:24PM +0000, Nicolas Pitre wrote:
> > On Mon, 14 Jan 2013, Will Deacon wrote:
> > > Sorry! This case is more interesting though, because you also want to order
> > > the cpu_if_down GIC write so that it completes before we do the power_off.
> >
> > In this case I'm leaning toward removing that gic_cpu_if_down()
> > entirely. I'm not convinced it is necessary, and if it is then we
> > probably have a bug somewhere else.
>
> Or that :)
In the CPU idle code path (cpu_suspend) we do need to turn off the GIC CPU IF,
hence we will have to cross that bridge when we come to it. Very soon.
Lorenzo
More information about the linux-arm-kernel
mailing list