linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Lukas Timmermann <linux@timmermann.space>
To: Russell King <linux@armlinux.org.uk>,
	Krzysztof Kozlowski <krzk@kernel.org>,
	Alim Akhtar <alim.akhtar@samsung.com>
Cc: Alexandre Marquet <tb@a-marquet.fr>,
	Lukas Timmermann <linux@timmermann.space>,
	linux-arm-kernel@lists.infradead.org,
	linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 3/3] ARM: samsung: exynos5250: Allow CPU1 to boot
Date: Thu, 20 Nov 2025 15:40:16 +0100	[thread overview]
Message-ID: <20251120144018.961604-4-linux@timmermann.space> (raw)
In-Reply-To: <20251120144018.961604-1-linux@timmermann.space>

From: Alexandre Marquet <tb@a-marquet.fr>

Add an exception to let the secondary CPU boot.

Signed-off-by: Alexandre Marquet <tb@a-marquet.fr>
Signed-off-by: Lukas Timmermann <linux@timmermann.space>
---
 arch/arm/mach-exynos/firmware.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-exynos/firmware.c b/arch/arm/mach-exynos/firmware.c
index a5e22678e27b..80e645b4d338 100644
--- a/arch/arm/mach-exynos/firmware.c
+++ b/arch/arm/mach-exynos/firmware.c
@@ -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("samsung,nexus10-manta"))
 		return 0;
 
 	/*
-- 
2.52.0



      parent reply	other threads:[~2025-11-20 14:43 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20251120144018.961604-1-linux@timmermann.space>
2025-11-20 14:40 ` [PATCH 1/3] dt-bindings: ARM: samsung: Add Samsung Manta (Google Nexus 10) Lukas Timmermann
2025-11-21  9:04   ` Krzysztof Kozlowski
2025-11-21 13:45     ` Lukas Timmermann
2025-11-21 17:24       ` Krzysztof Kozlowski
2025-11-21 18:07         ` Lukas Timmermann
2025-11-21 18:10           ` Krzysztof Kozlowski
2025-11-20 14:40 ` [PATCH 2/3] ARM: dts: exynos: " Lukas Timmermann
2025-11-20 17:31   ` Henrik Grimler
2025-11-20 17:36     ` Krzysztof Kozlowski
2025-11-20 20:27       ` Lukas Timmermann
2025-11-20 20:29     ` Lukas Timmermann
2025-11-20 14:40 ` Lukas Timmermann [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251120144018.961604-4-linux@timmermann.space \
    --to=linux@timmermann.space \
    --cc=alim.akhtar@samsung.com \
    --cc=krzk@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=tb@a-marquet.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).