From: maxime.ripard@free-electrons.com (Maxime Ripard)
To: linux-arm-kernel@lists.infradead.org
Subject: [linux-sunxi] [RFC 0/7] ARM: sun9i: SMP support with Multi-Cluster Power Management
Date: Mon, 18 May 2015 11:04:17 +0200 [thread overview]
Message-ID: <20150518090417.GO4004@lukather> (raw)
In-Reply-To: <alpine.LFD.2.11.1505180112570.4843@knanqh.ubzr>
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>
WARNING: multiple messages have this Message-ID (diff)
From: Maxime Ripard <maxime.ripard@free-electrons.com>
To: Nicolas Pitre <nicolas.pitre@linaro.org>
Cc: Ian Campbell <ijc@hellion.org.uk>,
wens@csie.org, Dave Martin <Dave.Martin@arm.com>,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com
Subject: Re: [linux-sunxi] [RFC 0/7] ARM: sun9i: SMP support with Multi-Cluster Power Management
Date: Mon, 18 May 2015 11:04:17 +0200 [thread overview]
Message-ID: <20150518090417.GO4004@lukather> (raw)
In-Reply-To: <alpine.LFD.2.11.1505180112570.4843@knanqh.ubzr>
[-- Attachment #1: Type: text/plain, Size: 1551 bytes --]
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
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
next prev parent reply other threads:[~2015-05-18 9:04 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-14 6:10 [RFC 0/7] ARM: sun9i: SMP support with Multi-Cluster Power Management Chen-Yu Tsai
2015-05-14 6:10 ` Chen-Yu Tsai
2015-05-14 6:10 ` [RFC 1/7] ARM: sun9i: Support SMP on A80 with Multi-Cluster Power Management (MCPM) Chen-Yu Tsai
2015-05-14 6:10 ` Chen-Yu Tsai
2015-05-14 6:10 ` [RFC 2/7] ARM: dts: sun9i: Add CCI-400 device nodes for A80 Chen-Yu Tsai
2015-05-14 6:10 ` Chen-Yu Tsai
2015-05-17 14:51 ` Maxime Ripard
2015-05-17 14:51 ` Maxime Ripard
2015-05-19 7:12 ` Chen-Yu Tsai
2015-05-19 7:12 ` Chen-Yu Tsai
2015-05-14 6:10 ` [RFC 3/7] ARM: dts: sun9i: Add CPUCFG device node for A80 dtsi Chen-Yu Tsai
2015-05-14 6:10 ` Chen-Yu Tsai
2015-05-14 6:10 ` [RFC 4/7] ARM: dts: sun9i: Add PRCM device node for the " Chen-Yu Tsai
2015-05-14 6:10 ` Chen-Yu Tsai
2015-05-17 14:54 ` Maxime Ripard
2015-05-17 14:54 ` Maxime Ripard
2015-05-19 3:08 ` Chen-Yu Tsai
2015-05-19 3:08 ` Chen-Yu Tsai
2015-05-14 6:10 ` [RFC 5/7] ARM: sunxi: mcpm: Support CPU/cluster power down and hotplugging for cpu1~7 Chen-Yu Tsai
2015-05-14 6:10 ` Chen-Yu Tsai
2015-05-14 6:10 ` [RFC 6/7] ARM: sunxi: mcpm: Support cpu0 hotplug Chen-Yu Tsai
2015-05-14 6:10 ` Chen-Yu Tsai
2015-05-14 6:10 ` [RFC 7/7] ARM: dts: sun9i: Add secure SRAM node used for MCPM SMP hotplug Chen-Yu Tsai
2015-05-14 6:10 ` Chen-Yu Tsai
2015-05-20 10:08 ` Maxime Ripard
2015-05-20 10:08 ` Maxime Ripard
2015-05-24 15:55 ` [linux-sunxi] " Chen-Yu Tsai
2015-05-24 15:55 ` Chen-Yu Tsai
2015-05-25 21:24 ` Maxime Ripard
2015-05-25 21:24 ` Maxime Ripard
2015-05-26 16:47 ` Chen-Yu Tsai
2015-05-26 16:47 ` Chen-Yu Tsai
2015-06-11 16:33 ` Maxime Ripard
2015-06-11 16:33 ` Maxime Ripard
2015-05-16 10:08 ` [linux-sunxi] [RFC 0/7] ARM: sun9i: SMP support with Multi-Cluster Power Management Ian Campbell
2015-05-16 10:08 ` Ian Campbell
2015-05-17 14:38 ` Maxime Ripard
2015-05-17 14:38 ` Maxime Ripard
2015-05-18 5:19 ` Nicolas Pitre
2015-05-18 5:19 ` Nicolas Pitre
2015-05-18 9:04 ` Maxime Ripard [this message]
2015-05-18 9:04 ` Maxime Ripard
2015-05-19 2:51 ` Chen-Yu Tsai
2015-05-19 2:51 ` Chen-Yu Tsai
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=20150518090417.GO4004@lukather \
--to=maxime.ripard@free-electrons.com \
--cc=linux-arm-kernel@lists.infradead.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.