Thread (1 message) 1 message, 1 author, 2015-06-01

[PATCH 3/6] drivers: firmware: psci: move power_state handling to generic code

From: Will Deacon <hidden>
Date: 2015-06-01 09:28:04
Also in: linux-devicetree

On Fri, May 29, 2015 at 01:16:36PM +0100, Lorenzo Pieralisi wrote:
Functions implemented on arm64 to check if a power_state parameter
is valid and if the power_state implies context loss are not
arm64 specific and should be moved to generic code so that they
can be reused on arm systems too.

This patch moves the functions handling the power_state parameter
to generic PSCI firmware layer code.

Signed-off-by: Lorenzo Pieralisi <redacted>
Acked-by: Sudeep Holla <redacted>
Cc: Will Deacon <redacted>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
---
 arch/arm64/kernel/psci.c | 14 --------------
 drivers/firmware/psci.c  | 15 +++++++++++++++
 include/linux/psci.h     |  2 ++
 3 files changed, 17 insertions(+), 14 deletions(-)
Looks fine to me:

  Acked-by: Will Deacon [off-list ref]

Will
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help