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

Dave Martin dave.martin at linaro.org
Mon Jan 7 07:26:44 EST 2013


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 at collabora.co.uk>
> Signed-off-by: Marc Zyngier <marc.zyngier at arm.com>

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

Acked-by: Dave Martin <dave.martin at 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 at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel



More information about the linux-arm-kernel mailing list