mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Lukas Timmermann <linux@timmermann.space>
To: Krzysztof Kozlowski <krzk@kernel.org>,
	 Alim Akhtar <alim.akhtar@samsung.com>,
	Rob Herring <robh@kernel.org>,
	 Conor Dooley <conor+dt@kernel.org>,
	Russell King <linux@armlinux.org.uk>
Cc: linux-arm-kernel@lists.infradead.org,
	linux-samsung-soc@vger.kernel.org,  devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	 Lukas Timmermann <linux@timmermann.space>,
	 Alexandre Marquet <tb@a-marquet.fr>
Subject: [PATCH v2 3/3] ARM: samsung: exynos5250: Allow CPU1 to boot
Date: Tue, 25 Nov 2025 16:12:42 +0100	[thread overview]
Message-ID: <20251125-google-manta-v2-3-0f097cfff39c@timmermann.space> (raw)
In-Reply-To: <20251125-google-manta-v2-0-0f097cfff39c@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-25 15:13 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-25 15:12 [PATCH v2 0/3] Add support for exynos5250-manta (Google Nexus 10) Lukas Timmermann
2025-11-25 15:12 ` [PATCH v2 1/3] dt-bindings: ARM: samsung: Add Google Manta (Nexus 10) Lukas Timmermann
2025-11-25 15:12 ` [PATCH v2 2/3] ARM: dts: exynos: " Lukas Timmermann
2025-11-26  9:10   ` Krzysztof Kozlowski
2025-11-27 20:01     ` Lukas Timmermann
2025-11-28  9:01       ` Krzysztof Kozlowski
2025-11-25 15:12 ` Lukas Timmermann [this message]
2025-11-26  9:24   ` [PATCH v2 3/3] ARM: samsung: exynos5250: Allow CPU1 to boot Krzysztof Kozlowski
2025-11-27 11:53     ` Lukas Timmermann
2025-12-04 11:22   ` Pavel Machek
2025-12-04 11:51     ` Krzysztof Kozlowski
2025-12-04 11:53       ` Pavel Machek
2025-12-04 11:54         ` Krzysztof Kozlowski
2025-12-04 11:55           ` Pavel Machek
2025-12-04 12:02             ` Krzysztof Kozlowski
2025-12-04 12:38               ` Pavel Machek
2025-11-25 15:20 ` [PATCH v2 0/3] Add support for exynos5250-manta (Google Nexus 10) Krzysztof Kozlowski
2025-11-25 15:22   ` Krzysztof Kozlowski
2025-11-26 22:46 ` Rob Herring

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=20251125-google-manta-v2-3-0f097cfff39c@timmermann.space \
    --to=linux@timmermann.space \
    --cc=alim.akhtar@samsung.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --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=robh@kernel.org \
    --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

all inboxes | Powered by JetHome®