arm64: psci: factor invocation code to drivers
authorMark Rutland <mark.rutland@arm.com>
Fri, 31 Jul 2015 14:46:16 +0000 (15:46 +0100)
committerWill Deacon <will.deacon@arm.com>
Mon, 3 Aug 2015 11:33:39 +0000 (12:33 +0100)
commitbff60792f994a87324ab57e89e945b4572b1ef77
tree6621042fdbf61a747dd7f7c094db8e8bfe17087a
parentbc0195aad0daa2ad5b0d76cce22b167bc3435590
arm64: psci: factor invocation code to drivers

To enable sharing with arm, move the core PSCI framework code to
drivers/firmware. This results in a minor gain in lines of code, but
this will quickly be amortised by the removal of code currently
duplicated in arch/arm.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Reviewed-by: Hanjun Guo <hanjun.guo@linaro.org>
Tested-by: Hanjun Guo <hanjun.guo@linaro.org>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/Kconfig
arch/arm64/include/asm/acpi.h
arch/arm64/include/asm/psci.h [deleted file]
arch/arm64/kernel/psci.c
arch/arm64/kernel/setup.c
drivers/firmware/Kconfig
drivers/firmware/Makefile
drivers/firmware/psci.c [new file with mode: 0644]
include/linux/psci.h [new file with mode: 0644]