]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: samsung: exynos5250: Allow CPU1 to boot
authorAlexandre Marquet <tb@a-marquet.fr>
Tue, 27 Jan 2026 20:40:58 +0000 (21:40 +0100)
committerKrzysztof Kozlowski <krzk@kernel.org>
Thu, 26 Feb 2026 21:13:27 +0000 (22:13 +0100)
The firmware trustzone needs a special call to bring up the secondary
cpu core on the Manta board. This seems to be not needed on other
exynos5 boards and comes down to the available firmware on
a particular board.

Signed-off-by: Alexandre Marquet <tb@a-marquet.fr>
Signed-off-by: Lukas Timmermann <linux@timmermann.space>
Reviewed-by: Henrik Grimler <henrik@grimler.se>
Link: https://patch.msgid.link/20260127-lat3st-staging-v4-3-797469aaaf9d@timmermann.space
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
arch/arm/mach-exynos/firmware.c

index a5e22678e27becd53765150c3d7d8d9198045dd0..e9b0ed07bb90f0616ebafdb4b481b0926480c841 100644 (file)
@@ -61,10 +61,10 @@ static int exynos_cpu_boot(int cpu)
         * Exynos3250 doesn't need to send smc command for secondary CPU boot
         * because Exynos3250 removes WFE in secure mode.
         *
-        * On Exynos5 devices the call is ignored by trustzone firmware.
+        * On most Exynos5 devices the call is ignored by trustzone firmware.
         */
        if (!soc_is_exynos4210() && !soc_is_exynos4212() &&
-           !soc_is_exynos4412())
+           !soc_is_exynos4412() && !of_machine_is_compatible("google,manta"))
                return 0;
 
        /*