[linux-sunxi] [RFC 0/7] ARM: sun9i: SMP support with Multi-Cluster Power Management

Maxime Ripard maxime.ripard at free-electrons.com
Mon May 18 02:04:17 PDT 2015


Hi Nicolas,

On Mon, May 18, 2015 at 01:19:18AM -0400, Nicolas Pitre wrote:
> On Sun, 17 May 2015, Maxime Ripard wrote:
> 
> > Hi Ian,
> > 
> > On Sat, May 16, 2015 at 11:08:46AM +0100, Ian Campbell wrote:
> > > On Thu, 2015-05-14 at 14:10 +0800, Chen-Yu Tsai wrote:
> > > > This is my attempt to support SMP and CPU hot plugging on the Allwinner
> > > > A80 SoC. The A80 is a big.Little processor with 2 clusters of 4x Cortex-A7
> > > > and 4x Cortex-A15 cores.
> > > 
> > > I thought there was a preference these days to support this sort of
> > > thing via support PSCI in the firmware, which allows for other things
> > > such as non-secure-world etc.
> > 
> > Yes, it is the preferred way. Meaning that if someone wants to do that
> > work, he's very much welcome and encouraged to do so. But if no one's
> > doing it, then we still have to have a way to bringup the secondary
> > CPUs.
> 
> And doing so in the kernel (at least initially) is simpler, and so much 
> easier to fix when it is broken.  We've seen a few systems already where 
> power management is crippled because no one is able/allowed/willing to 
> fix the broken firmware.

To be fair, our platform support is done by hobbyist, and our only
implementation of PSCI is done through mainline u-boot, which means we
have an easy way to fix any issue we might have, and that it's
possible, otherwise we wouldn't have it at all.

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: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150518/e094d38c/attachment-0001.sig>


More information about the linux-arm-kernel mailing list