From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hans de Goede Date: Sun, 11 Jan 2015 11:30:19 +0100 Subject: [U-Boot] [PATCH v3 0/4] sun7i: PSCI enhancements In-Reply-To: <1420970376.11796.137.camel@hellion.org.uk> References: <1420970376.11796.137.camel@hellion.org.uk> Message-ID: <54B250BB.2050000@redhat.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, On 11-01-15 10:59, Ian Campbell wrote: > I've applied #1 and #3. I'd like to hear from Hans on the v0.2 stuff. I've no real opinion on this, I do NOT like the introduction of a third version of the i2c / rsb and axp code (we already have both a u-boot and a kernel version to maintain of both). Given that and rumors I've heard of a new PSCI version which may make things like shutdown optional, I would prefer to wait for such a new PSCI version and jump directly to that. But ultimately I defer to Ian here, so Ian whatever you say goes :) Regards, Hans > > Also, the other patches are touching generic arm code, so ought to be > CC-d to (and perhaps go via) the core ARM maintainer (Albert Aribaud). > > IMHO it would be better if the common code changes involved > platform-selectable #ifdef's for enabling v0.1 and v0.2, to allow > platforms to opt-in to v0.2 support. > > On Wed, 2014-12-31 at 13:46 +0100, Jan Kiszka wrote: >> This adds CPU offlining and PSCI v0.2 support. Changes since v2: >> - add more comments to psci_fiq_enter (patch 1) >> - rebase over u-boot-sunxi/next >> >> See patches for further details. >> >> Jan >> >> Jan Kiszka (4): >> sun7i: Add support for taking CPUs offline via PSCI >> sun7i: Add PSCI v0.2 support >> sun7i: Move psci_arch_init close to text_end >> sun7i: Implement PSCI v0.2 AFFINITY_INFO >> >> arch/arm/cpu/armv7/psci.S | 35 +++- >> arch/arm/cpu/armv7/sunxi/psci.S | 351 ++++++++++++++++++++++++++++++++-- >> arch/arm/cpu/armv7/virt-dt.c | 5 +- >> arch/arm/include/asm/arch-sunxi/cpu.h | 2 + >> arch/arm/include/asm/psci.h | 24 ++- >> 5 files changed, 392 insertions(+), 25 deletions(-) >> > >