diff mbox

[1/2] ARM: hyp: boot secondary CPUs through the right entry point

Message ID 1357321455-9264-2-git-send-email-marc.zyngier@arm.com (mailing list archive)
State New, archived
Headers show

Commit Message

Marc Zyngier Jan. 4, 2013, 5:44 p.m. UTC
Secondary CPUs should use the __hyp_stub_install_secondary entry
point, so boot mode inconsistencies can be detected.

Reported-by: Ian Molton <ian.molton@collabora.co.uk>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
---
 arch/arm/kernel/head.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

tip-bot for Dave Martin Jan. 7, 2013, 12:26 p.m. UTC | #1
On Fri, Jan 04, 2013 at 05:44:14PM +0000, Marc Zyngier wrote:
> Secondary CPUs should use the __hyp_stub_install_secondary entry
> point, so boot mode inconsistencies can be detected.
> 
> Reported-by: Ian Molton <ian.molton@collabora.co.uk>
> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>

I was just going to report this, but I see I was beaten to it...

Acked-by: Dave Martin <dave.martin@linaro.org>

Cheers
---Dave


> ---
>  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.1
> 
> 
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
diff mbox

Patch

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