[PATCHv2 09/12] arm64: psci: factor invocation code to drivers
Catalin Marinas
catalin.marinas at arm.com
Mon May 18 10:40:20 PDT 2015
On Mon, May 18, 2015 at 11:38:20AM +0100, Mark Rutland wrote:
> 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 at arm.com>
> Cc: Catalin Marinas <catalin.marinas at arm.com>
> Cc: Lorenzo Pieralisi <lorenzo.pieralisi at arm.com>
> Cc: Will Deacon <will.deacon at arm.com>
> ---
> arch/arm64/Kconfig | 1 +
> arch/arm64/include/asm/psci.h | 27 ----
> arch/arm64/kernel/psci.c | 354 +---------------------------------------
> arch/arm64/kernel/setup.c | 2 +-
> drivers/firmware/Kconfig | 3 +
> drivers/firmware/Makefile | 1 +
> drivers/firmware/psci.c | 363 ++++++++++++++++++++++++++++++++++++++++++
> include/linux/psci.h | 51 ++++++
> 8 files changed, 422 insertions(+), 380 deletions(-)
> delete mode 100644 arch/arm64/include/asm/psci.h
> create mode 100644 drivers/firmware/psci.c
> create mode 100644 include/linux/psci.h
Did you use -M to generate this diff? Maybe for a subsequent post.
Acked-by: Catalin Marinas <catalin.marinas at arm.com>
More information about the linux-arm-kernel
mailing list