]> xenbits.xensource.com Git - xen.git/commit
arm: move GIC SGI kicking into separate function
authorAndre Przywara <andre.przywara@linaro.org>
Thu, 5 Dec 2013 10:08:08 +0000 (11:08 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 5 Dec 2013 12:19:09 +0000 (12:19 +0000)
commit4e014d63e3d611efbb5fc971ffccafda9aa2b2bb
treea640b6e0db0cddcb9d84527101884f7aec43f4db
parentfd715d2c958833a8a9bdc41287922a441d66406d
arm: move GIC SGI kicking into separate function

Currently we unconditionally send SGIs to all cores on SMP bringup.

Those SGIs (software generated interrupts) are to push a secondary core
through a gate in the Xen bring up code to filter the right CPU. This gate is
necessary on platforms which do not allow us to wake up a specific secondary
processor and will trap all but the CPU we are trying to wake up.

With PSCI we can explicitly specify the core to startup, so we don't need the
kick here because the CPU will fall straight through Xen's gate.

So we move the GIC kick into a function and call it explicitly from the
platforms that need it. This gets us get rid of the empty cpu_up() platform
functions in ARM32 and the comment in there.

Signed-off-by: Andre Przywara <andre.przywara@linaro.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
[ ijc -- explain more about the Xen gate in the commit message ]
xen/arch/arm/arm64/smpboot.c
xen/arch/arm/platform.c
xen/arch/arm/platforms/exynos5.c
xen/arch/arm/platforms/omap5.c
xen/arch/arm/platforms/vexpress.c
xen/arch/arm/smpboot.c
xen/include/asm-arm/smp.h