[PATCH 2/6] ARM: virt: boot secondary CPUs through the right entry point

Will Deacon will.deacon at arm.com
Fri Jan 11 10:34:13 EST 2013


From: Marc Zyngier <marc.zyngier at arm.com>

Secondary CPUs should use the __hyp_stub_install_secondary entry
point, so boot mode inconsistencies can be detected.

Cc: <stable at vger.kernel.org>
Acked-by: Dave Martin <dave.martin at linaro.org>
Reported-by: Ian Molton <ian.molton at collabora.co.uk>
Signed-off-by: Marc Zyngier <marc.zyngier at arm.com>
Signed-off-by: Will Deacon <will.deacon at arm.com>
---
 arch/arm/kernel/head.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/kernel/head.S b/arch/arm/kernel/head.S
index 4eee351..16abc83 100644
--- a/arch/arm/kernel/head.S
+++ b/arch/arm/kernel/head.S
@@ -331,7 +331,7 @@ ENTRY(secondary_startup)
 	 * as it has already been validated by the primary processor.
 	 */
 #ifdef CONFIG_ARM_VIRT_EXT
-	bl	__hyp_stub_install
+	bl	__hyp_stub_install_secondary
 #endif
 	safe_svcmode_maskall r9
 
-- 
1.8.0




More information about the linux-arm-kernel mailing list