From: Rask Ingemann Lambertsen <rask@formelder.dk>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 00/10] sunxi: Add basic PSCI support to enable SMP on the A80's first cluster
Date: Thu, 26 Jan 2017 23:44:21 +0100 [thread overview]
Message-ID: <20170126224421.k2d3vsilqvkpsowq@localhost> (raw)
In-Reply-To: <CAGb2v66R-BrzZyX_-4voiKtQhFtRMc-2wii+a7CykctKEG67FQ@mail.gmail.com>
On Wed, Jan 25, 2017 at 06:40:38PM +0800, Chen-Yu Tsai wrote:
[hacking around the broken A80 TrustZone implementation]
> This is doable, and it is actually what Allwinner's kernel does, but is
> really hackish. The released 3.4 kernel also has the same workarounds
> for A83T. So it's also possible the A83T has the same issues.
FWIW, the kernel that ships with my A80 based media player produces this:
[ 0.000000] Linux version 3.4.39+ (lzq at sunchip-CS24-TY) (gcc version 4.6.3 20120201 (prerelease) (crosstool-NG linaro-1.13.1-2012.02-20120222 - Linaro GCC 2012.02) ) #1 SMP PREEMPT Sat Nov 14 03:33:12 UTC 2015
...
[ 0.262230] CPU4: failed to boot: -22
[ 0.302298] CPU5: failed to boot: -22
[ 0.342350] CPU6: failed to boot: -22
[ 0.382421] CPU7: failed to boot: -22
So I guess you are not alone in having trouble getting PSCI to work on the
A80. However, when trying out your patches, I also once or twice got a
failure booting CPU2 although CPU3 and CPU4 came up fine.
> So, if there's still interest in getting a working PSCI environment
> for the A80/A83T, I'll look into doing a workaround patch for GIC-400.
> Otherwise I'm going to go back and revive my MCPM patches for in-kernel
> SMP support.
I vote for whatever works. I'll also happily test it. Is there a git tree
I should keep an eye on?
--
Rask Ingemann Lambertsen
next prev parent reply other threads:[~2017-01-26 22:44 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-09 10:21 [U-Boot] [PATCH 00/10] sunxi: Add basic PSCI support to enable SMP on the A80's first cluster Chen-Yu Tsai
2016-11-09 10:21 ` [U-Boot] [PATCH 01/10] ARM: PSCI: Set ARMV7_PSCI_NR_CPUS default to 8 for sun9i/A80 Chen-Yu Tsai
2016-11-13 19:05 ` Hans de Goede
2016-11-09 10:21 ` [U-Boot] [PATCH 02/10] sunxi: Add CCI-400 and CPUCFG registers base address " Chen-Yu Tsai
2016-11-13 19:06 ` Hans de Goede
2016-11-09 10:21 ` [U-Boot] [PATCH 03/10] sunxi: Add base address of secure SRAM B " Chen-Yu Tsai
2016-11-13 19:06 ` Hans de Goede
2016-11-09 10:21 ` [U-Boot] [PATCH 04/10] sunxi: Use secure SRAM B for secure RAM " Chen-Yu Tsai
2016-11-13 19:06 ` Hans de Goede
2016-11-09 10:21 ` [U-Boot] [PATCH 05/10] sunxi: Add PRCM register definition " Chen-Yu Tsai
2016-11-13 19:07 ` Hans de Goede
2016-11-09 10:21 ` [U-Boot] [PATCH 06/10] sunxi: Add CPUCFG register definitions " Chen-Yu Tsai
2016-11-13 19:07 ` Hans de Goede
2016-11-09 10:21 ` [U-Boot] [PATCH 07/10] sunxi: Add support for TZPC on sun9i/A80 Chen-Yu Tsai
2016-11-13 19:07 ` Hans de Goede
2016-11-09 10:21 ` [U-Boot] [PATCH 08/10] sunxi: Add basic PSCI implementation for A80 Chen-Yu Tsai
2016-11-13 19:07 ` Hans de Goede
2016-11-09 10:21 ` [U-Boot] [PATCH 09/10] sunxi: Enable PSCI on sun9i/A80 Chen-Yu Tsai
2016-11-13 19:08 ` Hans de Goede
2017-04-03 12:13 ` Jagan Teki
2017-04-03 12:17 ` Chen-Yu Tsai
2016-11-09 10:21 ` [U-Boot] [PATCH 10/10] sunxi: Add PSCI core power off support for A80's first cluster Chen-Yu Tsai
2016-11-09 10:38 ` [U-Boot] [PATCH 00/10] sunxi: Add basic PSCI support to enable SMP on the " Hans de Goede
2016-11-09 10:54 ` Chen-Yu Tsai
2016-11-14 11:21 ` Chen-Yu Tsai
2017-01-25 10:40 ` Chen-Yu Tsai
2017-01-26 22:44 ` Rask Ingemann Lambertsen [this message]
[not found] ` <CAD6G_RQ4KSH2HpwQKzv7U_1e1K72XNXJ3esMt+nhrU7Z_Ybg=Q@mail.gmail.com>
2017-05-02 10:50 ` Jagan Teki
2017-05-02 11:00 ` 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=20170126224421.k2d3vsilqvkpsowq@localhost \
--to=rask@formelder.dk \
--cc=u-boot@lists.denx.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox