[U-Boot] [PATCH 0/8] ARM: sunxi: Support PSCI for sun6i and sun8i
Maxime Ripard
maxime.ripard at free-electrons.com
Thu May 28 17:31:17 CEST 2015
Hi Chen-Yu,
On Thu, May 28, 2015 at 09:25:26PM +0800, Chen-Yu Tsai wrote:
> Hi everyone,
>
> I finally got around to rebasing and fixing up my PSCI stuff.
> This series adds PSCI support for sun6i and sun8i. This is
> based on sun7i PSCI support by Marc, and the SMP support
> routines found in both mainline Linux and Allwinner's Android
> kernel.
This is great, thanks!
> I've tested this on my Hummingbird A31 board and Ippo q8h v5
> tablet. Given the A23 SMP routines work on the A33 as well,
> I see no reason it would not work, so A33 support is included
> as well, but more testing is always welcome.
Yeah, and we can expect it to work on the H3 and R16 as well.
> Patch 1 and 2 address a build failur on sunxi/next I ran into,
> which is related to the new NAND SPL support.
>
> Patch 3 adds some comments to the sunxi PSCI code, for easier
> reading.
>
> Patch 4 moves sun7i PSCI code aside.
>
> Patch 5 adds sun6i PSCI code. Differences from sun7i are the
> separate PRCM block for power gating/clamps, and support for
> more than 1 secondary CPU core.
>
> Patch 6 enables PSCI for sun6i.
>
> Patch 7 lets sun8i share PSCI code with sun6i. The routines
> are the same, except sun8i does not have power clamps.
>
> Patch 8 enables PSCI for sun8i (A23/A33).
>
> Wonder if we still need the SMP support in the kernel?
Eventually, we can remove it.
However, I think we should wait a bit before doing so. We have a few
things that will be required before that:
- That these patches get merged (obviously)
- That we have a way to replace the Allwinner bootloader in NAND on
these SoCs. That's especially true on the A31, which will boot on
NAND by default. We don't look so far off though.
- That these patches get into enough u-boot releases that we can
expect that most of the users to have been moved over (I'd say
something like 2-3 releases)
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.denx.de/pipermail/u-boot/attachments/20150528/f00af6ad/attachment.sig>
More information about the U-Boot
mailing list