]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: migrate to common PSCI client code
authorMark Rutland <mark.rutland@arm.com>
Fri, 31 Jul 2015 14:46:19 +0000 (15:46 +0100)
committerWill Deacon <will.deacon@arm.com>
Mon, 3 Aug 2015 14:38:39 +0000 (15:38 +0100)
commit7939333d29074619dbe7569eb1a7cfa8ddea578d
tree24f5b34790658e004e7912218249df11f7c532c6
parent7b8326ee0857976b34e0c972a1637bfb798e4b1e
ARM: migrate to common PSCI client code

Now that the common PSCI client code has been factored out to
drivers/firmware, and made safe for 32-bit use, move the 32-bit ARM code
over to it. This results in a moderate reduction of duplicated lines,
and will prevent further duplication as the PSCI client code is updated
for PSCI 1.0 and beyond.

The two legacy platform users of the PSCI invocation code are updated to
account for interface changes. In both cases the power state parameter
(which is constant) is now generated using macros, so that the
pack/unpack logic can be killed in preparation for PSCI 1.0 power state
changes.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Rob Herring <robh@kernel.org>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Ashwin Chaugule <ashwin.chaugule@linaro.org>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: Russell King <rmk+kernel@arm.linux.org.uk>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm/Kconfig
arch/arm/include/asm/psci.h
arch/arm/kernel/Makefile
arch/arm/kernel/psci.c [deleted file]
arch/arm/kernel/psci_smp.c
arch/arm/kernel/setup.c
arch/arm/mach-highbank/highbank.c
arch/arm/mach-highbank/pm.c
drivers/cpuidle/cpuidle-calxeda.c