[RESEND 0/5] ARM/arm64: arm_pm_restart removal

From: Lee Jones
Date: Fri Jun 04 2021 - 10:04:05 EST


This is a rebase/refresh of a set sent out, reviewed,
then forgotten about. It's still considered useful.

Here is an excerpt from the previous attempt:

"Hi Russell, ARM SoC maintainers,

here's the full set of patches that remove arm_pm_restart as discussed
earlier. There's some background on the series in this thread:

https://lore.kernel.org/linux-arm-kernel/20170130110512.6943-1-thierry.reding@xxxxxxxxx/

I also have a set of patches that build on top of this and try to add
something slightly more formal by adding a power/reset framework that
driver can register with. If we can get this series merged, I'll find
some time to refresh those patches and send out for review again.

Thierry"

Guenter Roeck (5):
ARM: xen: Register with kernel restart handler
drivers: firmware: psci: Register with kernel restart handler
ARM: Register with kernel restart handler
ARM64: Remove arm_pm_restart()
ARM: Remove arm_pm_restart()

arch/arm/include/asm/system_misc.h | 1 -
arch/arm/kernel/reboot.c | 6 +-----
arch/arm/kernel/setup.c | 20 ++++++++++++++++++--
arch/arm/xen/enlighten.c | 12 ++++++++++--
arch/arm64/include/asm/system_misc.h | 2 --
arch/arm64/kernel/process.c | 7 +------
drivers/firmware/psci/psci.c | 12 ++++++++++--
7 files changed, 40 insertions(+), 20 deletions(-)


--
2.31.1