ARM: SMP: basic IPI triggered completion support
authorNicolas Pitre <nicolas.pitre@linaro.org>
Wed, 28 Nov 2012 02:54:41 +0000 (21:54 -0500)
committerNicolas Pitre <nicolas.pitre@linaro.org>
Thu, 20 Jun 2013 04:23:49 +0000 (00:23 -0400)
commit917c352f7ba7753449aa670b49748068f6629cd1
treec94cb7039d9747c26d41e3802681e88fa3bae0c1
parent1c332d4f223066932035578f22877d269443394e
ARM: SMP: basic IPI triggered completion support

We need a mechanism to let an inbound CPU signal that it is alive before
even getting into the kernel environment i.e. from early assembly code.
Using an IPI is the simplest way to achieve that.

This adds some basic infrastructure to register a struct completion
pointer to be "completed" when the dedicated IPI for this task is
received.

Signed-off-by: Nicolas Pitre <nico@linaro.org>
arch/arm/include/asm/hardirq.h
arch/arm/include/asm/smp.h
arch/arm/kernel/smp.c