linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/1] ARM: sunxi: select ARM_PSCI
@ 2013-12-25 12:11 Zalan Blenessy
  2013-12-25 12:11 ` [PATCH 1/1] " Zalan Blenessy
  2014-01-01 17:02 ` [PATCHv2 " Zalan Blenessy
  0 siblings, 2 replies; 5+ messages in thread
From: Zalan Blenessy @ 2013-12-25 12:11 UTC (permalink / raw)
  To: linux-arm-kernel

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(+)

-- 
1.7.10.4

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 1/1] ARM: sunxi: select ARM_PSCI
  2013-12-25 12:11 [PATCH 0/1] ARM: sunxi: select ARM_PSCI Zalan Blenessy
@ 2013-12-25 12:11 ` Zalan Blenessy
  2013-12-30 15:31   ` Maxime Ripard
  2014-01-01 17:02 ` [PATCHv2 " Zalan Blenessy
  1 sibling, 1 reply; 5+ messages in thread
From: Zalan Blenessy @ 2013-12-25 12:11 UTC (permalink / raw)
  To: linux-arm-kernel

This is necessary for SMP on sun7i.

Signed-off-by: Zalan Blenessy <zalan.blenessy@gmail.com>
---
 arch/arm/mach-sunxi/Kconfig |    1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig
index 547004c..09df4b81 100644
--- a/arch/arm/mach-sunxi/Kconfig
+++ b/arch/arm/mach-sunxi/Kconfig
@@ -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
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 1/1] ARM: sunxi: select ARM_PSCI
  2013-12-25 12:11 ` [PATCH 1/1] " Zalan Blenessy
@ 2013-12-30 15:31   ` Maxime Ripard
  0 siblings, 0 replies; 5+ messages in thread
From: Maxime Ripard @ 2013-12-30 15:31 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Zalan,

On Wed, Dec 25, 2013 at 01:11:06PM +0100, Zalan Blenessy wrote:
> This is necessary for SMP on sun7i.
> 
> Signed-off-by: Zalan Blenessy <zalan.blenessy@gmail.com>

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

-- 
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>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCHv2 1/1] ARM: sunxi: select ARM_PSCI
  2013-12-25 12:11 [PATCH 0/1] ARM: sunxi: select ARM_PSCI Zalan Blenessy
  2013-12-25 12:11 ` [PATCH 1/1] " Zalan Blenessy
@ 2014-01-01 17:02 ` Zalan Blenessy
  2014-01-01 22:58   ` Maxime Ripard
  1 sibling, 1 reply; 5+ messages in thread
From: Zalan Blenessy @ 2014-01-01 17:02 UTC (permalink / raw)
  To: linux-arm-kernel

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.

Signed-off-by: Signed-off-by: Zalan Blenessy <zalan.blenessy@gmail.com>
---
Changes[v2]:
 - Improved patch description

 arch/arm/mach-sunxi/Kconfig |    1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig
index 547004c..09df4b81 100644
--- a/arch/arm/mach-sunxi/Kconfig
+++ b/arch/arm/mach-sunxi/Kconfig
@@ -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
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCHv2 1/1] ARM: sunxi: select ARM_PSCI
  2014-01-01 17:02 ` [PATCHv2 " Zalan Blenessy
@ 2014-01-01 22:58   ` Maxime Ripard
  0 siblings, 0 replies; 5+ messages in thread
From: Maxime Ripard @ 2014-01-01 22:58 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Zalan,

On Wed, Jan 01, 2014 at 06:02:55PM +0100, Zalan Blenessy wrote:
> 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.
> 
> Signed-off-by: Signed-off-by: Zalan Blenessy <zalan.blenessy@gmail.com>

Thanks!

Applied in sunxi/core-for-3.14.

Maxime

-- 
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>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-01-01 22:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-25 12:11 [PATCH 0/1] ARM: sunxi: select ARM_PSCI Zalan Blenessy
2013-12-25 12:11 ` [PATCH 1/1] " Zalan Blenessy
2013-12-30 15:31   ` Maxime Ripard
2014-01-01 17:02 ` [PATCHv2 " Zalan Blenessy
2014-01-01 22:58   ` Maxime Ripard

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).