[PATCH v3 2/2] ARM64: kernel: PSCI: move PSCI idle management code to drivers/firmware
From: Russell King - ARM Linux <hidden>
Date: 2016-01-06 21:44:39
Also in:
linux-pm
From: Russell King - ARM Linux <hidden>
Date: 2016-01-06 21:44:39
Also in:
linux-pm
On Wed, Jan 06, 2016 at 04:55:45PM +0000, Lorenzo Pieralisi wrote:
On Tue, Jan 05, 2016 at 01:34:47PM +0000, Russell King - ARM Linux wrote:quoted
That immediately worries me, because it bypasses the CPU dependencies for ARM_CPU_SUSPEND implicitly applied via ARCH_SUSPEND_POSSIBLE. I'd prefer instead: config ARM_PSCI_CPU_IDLE def_bool ARM_PSCI_FW && CPU_IDLE && (!ARM || ARM_CPU_SUSPEND)If you are not against it, I could make ARM_PSCI select ARM_CPU_SUSPEND, the CPU dependency would be taken into account (ie CPU_V7) and this would mirror what's done for the eg BL_SWITCHER.
If you're proposing to always build the code in psci.c when ARM_PSCI_FW
is enabled, I'd rather do this:
config ARM_CPU_SUSPEND
def_bool PM_SLEEP || BL_SWITCHER || ARM_PSCI_FW
depends on ARCH_SUSPEND_POSSIBLE
rather than have stuff select this option.
--
RMK's Patch system: http://www.arm.linux.org.uk/developer/patches/
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.