]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 7549/1: HYP: fix boot on some ARM1136 cores
authorMarc Zyngier <Marc.Zyngier@arm.com>
Sat, 6 Oct 2012 16:03:17 +0000 (17:03 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 9 Oct 2012 11:11:34 +0000 (12:11 +0100)
commitec1856ce5c6b6049a7d33d57bba886f43c074a31
tree0fbd4405ee99ba35cf508f67b01a932a89d71824
parent9cb2177808a3816dffa41c810c678da1e24149af
ARM: 7549/1: HYP: fix boot on some ARM1136 cores

It appears that performing a "movs pc, lr" to force the kernel into
SVC mode on the OMAP2420 (ARM1136) prevents the platform from booting
correctly (change introduced in a2fac5a [ARM: virt: allow the kernel
to be entered in HYP mode]).

While the reason it fails is not understood yet (the same code runs
fine on the OMAP2430, ARM1136 as well), partially revert that change
for platforms that do not enter in HYP mode, preserving the new
feature and restoring a working kernel on the OMAP2420.

Reported-by: Tony Lindgren <tony@atomide.com>
Acked-by: Nicolas Pitre <nico@linaro.org>
Tested-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/assembler.h