]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
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>
Mon, 23 Sep 2013 22:47:26 +0000 (18:47 -0400)
commit5135d875e1457ef946a055003d8f80713e862135
tree6cd37d9a8fd486ac2af3205b9baf2dce20ac0040
parent108a9640abfada2599b6cb08c7cc00a4eebf8f8f
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