powerpc/powernv: Add OPAL soft-poweroff routine
authorJoel Stanley <joel@jms.id.au>
Fri, 30 Jan 2015 06:43:08 +0000 (17:13 +1030)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 4 Feb 2015 02:08:25 +0000 (13:08 +1100)
Register a notifier for a OPAL message indicating that the machine
should prepare itself for a graceful power off.

OPAL will tell us if the power off is a reboot or shutdown, but for now
we perform the same orderly_poweroff action.

Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/opal.h
arch/powerpc/platforms/powernv/Makefile
arch/powerpc/platforms/powernv/opal-power.c [new file with mode: 0644]

Simple merge