arm64: psci: add support for PSCI invocations from the kernel
authorWill Deacon <will.deacon@arm.com>
Tue, 18 Dec 2012 17:53:14 +0000 (17:53 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 29 Jan 2013 16:56:37 +0000 (16:56 +0000)
commite790f1deb26a2e23f05dee0b9a5d4f764c3d7ea7
treea562c97caa8662497320ef03930d37cde1395d97
parentd329de3f2ada413c7cd16e1dc1d70d4abc7309e9
arm64: psci: add support for PSCI invocations from the kernel

This patch adds support for the Power State Coordination Interface
defined by ARM, allowing Linux to request CPU-centric power-management
operations from firmware implementing the PSCI protocol.

Signed-off-by: Will Deacon <will.deacon@arm.com>
[Marc: s/u32/u64/ in the relevant spots, and switch from an initcall
 to an simpler init function]
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/psci.h [new file with mode: 0644]
arch/arm64/kernel/Makefile
arch/arm64/kernel/psci.c [new file with mode: 0644]
arch/arm64/kernel/setup.c