Skip to contentSkip to conversation

ARM: sunxi: select ARM_PSCI

PATCH Superseded Zalan Blenessy 2 participants 5 messages Dec 25, 2013 – Jan 1, 2014

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

cover ARM: sunxi: select ARM_PSCI

Hello!

This patch enabled ARM_PSCI by default, which is necessary when the CPU (e.g. sun7i) is intialized from u-boot.

BR, Zalan Blenessy

Zalan Blenessy (1):
ARM: sunxi: select ARM_PSCI

 arch/arm/mach-sunxi/Kconfig |    1 +
 1 file changed, 1 insertion(+)
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/1 ARM: sunxi: select ARM_PSCI

This is necessary for SMP on sun7i.

---
 arch/arm/mach-sunxi/Kconfig |    1 +
 1 file changed, 1 insertion(+)
arch/arm/mach-sunxi/Kconfig +1 -0
index 547004c..09df4b81 100644
@@ -3,6 +3,7 @@ config ARCH_SUNXI
 	select ARCH_HAS_RESET_CONTROLLER
 	select ARCH_REQUIRE_GPIOLIB
 	select ARM_GIC
+	select ARM_PSCI
 	select CLKSRC_MMIO
 	select CLKSRC_OF
 	select COMMON_CLK
Signature · 1 line
1.7.10.4
#2 lore raw

PATCH 1/1 ARM: sunxi: select ARM_PSCI

Hi Zalan,

Quoted 3 lines · Zalan Blenessy

This is necessary for SMP on sun7i.

I'd expect a bit more details here. What you wrote in your cover letter would be a good start.

Something like
----8<----
On Allwinner sun7i (A20) SoCs, the SMP operations are implemented in u-boot, and exposed to the kernel through PSCI.

We thus need to enable PSCI support for Allwinner SoCs so that the kernel uses it to bring up the additionnal cores. ----8<----

Thanks!
Maxime

Signature · 10 lines
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20131230/ce400d0b/attachment.sig>
#3 lore raw

PATCH v2 1/1 ARM: sunxi: select ARM_PSCI

In reply to Zalan Blenessy

On Allwinner sun7i (A20) SoCs, the SMP operations are implemented in u-boot, and exposed to the kernel through PSCI.

We thus need to enable PSCI support for Allwinner SoCs so that the kernel uses it to bring up the additionnal cores.

---
Changes[v2]:
- Improved patch description

 arch/arm/mach-sunxi/Kconfig |    1 +
 1 file changed, 1 insertion(+)
arch/arm/mach-sunxi/Kconfig +1 -0
index 547004c..09df4b81 100644
@@ -3,6 +3,7 @@ config ARCH_SUNXI
 	select ARCH_HAS_RESET_CONTROLLER
 	select ARCH_REQUIRE_GPIOLIB
 	select ARM_GIC
+	select ARM_PSCI
 	select CLKSRC_MMIO
 	select CLKSRC_OF
 	select COMMON_CLK
Signature · 1 line
1.7.10.4
#4 lore raw

PATCH v2 1/1 ARM: sunxi: select ARM_PSCI

Hi Zalan,

Quoted 7 lines · Zalan Blenessy

On Allwinner sun7i (A20) SoCs, the SMP operations are implemented in u-boot, and exposed to the kernel through PSCI.

We thus need to enable PSCI support for Allwinner SoCs so that the kernel uses it to bring up the additionnal cores.

Thanks!

Applied in sunxi/core-for-3.14.

Maxime

Signature · 10 lines
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140101/addfb7ba/attachment.sig>