Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: virt: boot secondary CPUs through the right entry point

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

Cc: <stable@vger.kernel.org>
Acked-by: Dave Martin <dave.martin@linaro.org>
Reported-by: Ian Molton <ian.molton@collabora.co.uk>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>

authored by

Marc Zyngier and committed by
Will Deacon
6e484be1 a4a12e00

+1 -1
+1 -1
arch/arm/kernel/head.S
··· 331 331 * as it has already been validated by the primary processor. 332 332 */ 333 333 #ifdef CONFIG_ARM_VIRT_EXT 334 - bl __hyp_stub_install 334 + bl __hyp_stub_install_secondary 335 335 #endif 336 336 safe_svcmode_maskall r9 337 337