Re: [PATCH v2] ARM: OMAP5: Switch to THUMB mode if needed on secondary CPU

From: Tony Lindgren
Date: Fri Apr 25 2014 - 12:28:22 EST


* Joel Fernandes <joelf@xxxxxx> [140422 12:41]:
> On my DRA7 system, when the kernel is built in Thumb-2 mode, the secondary CPU
> (Cortex A15) fails to come up causing SMP boot on second CPU to timeout. This
> seems to be because the CPU is in ARM mode once the ROM hands over control to
> the kernel. Switch to Thumb-2 mode if required once the kernel is control of
> secondary CPU. On OMAP4 on the other hand, it appears to be in Thumb-2 mode on
> entry so this is not required and SMP boot works as is.
>
> Also corrected a spurious '+' and updated copyright information.
>
> Cc: Santosh Shilimkar <santosh.shilimkar@xxxxxx>
> Cc: Russell King <linux@xxxxxxxxxxxxxxxx>
> Cc: Nishanth Menon <nm@xxxxxx>
> Cc: Tony Lindgren <tony@xxxxxxxxxxx>
> Tested-by: Nishanth Menon <nm@xxxxxx>
> Acked-by: Santosh Shilimkar <santosh.shilimkar@xxxxxx>
> Signed-off-by: Joel Fernandes <joelf@xxxxxx>

Thanks applying into omap-for-v3.15/fixes-v2.

Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/