Skip to content

ARM, arm64: Remove arm_pm_restart()

Thierry Reding linux-arm-kernel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6ARM: prima2: Register with kernel restart handlerarch/arm/mach-prima2/rstc.c+9 -20 replies
2/6ARM: xen: Register with kernel restart handlerarch/arm/xen/enlighten.c+11 -20 replies
3/6drivers: firmware: psci: Register with kernel restart handlerdrivers/firmware/psci.c+9 -20 replies
4/6ARM: Register with kernel restart handlerarch/arm/kernel/setup.c+18 -20 replies
5/6ARM64: Remove arm_pm_restart()arch/arm64/include/asm/system_misc.h arch/arm64/kernel/process.c+1 -80 replies
6/6ARM: Remove arm_pm_restart()arch/arm/include/asm/system_misc.h arch/arm/kernel/reboot.c+1 -60 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchArnd BergmannWolfram SangStefano StabelliniLorenzo PieralisiCatalin Marinas
1/6A-b R-b
2/6A-b R-b R-b
3/6A-b R-b T-b A-b
4/6A-b R-b
5/6A-b R-b T-b A-b
6/6A-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v1 thread

Cover letter [PATCH 0/6] ARM, arm64: Remove arm_pm_restart()

From: Thierry Reding <[email protected]>

Hi everyone,

This small series is preparatory work for a series that I'm working on which attempts to establish a formal framework for system restart and power off.

Guenter has done a lot of good work in this area, but it never got merged. I think this set is a valuable addition to the kernel because it converts all odd providers to the established mechanism for restart.

Since this is stretched across both 32-bit and 64-bit ARM, as well as PSCI, and given the SoC/board level of functionality, I think it might make sense to take this through the ARM SoC tree in order to simplify the interdependencies. But it should also be possible to take patches 1-4 via their respective trees this cycle and patches 5-6 through the ARM and arm64 trees for the next cycle, if that's preferred.

Thanks,
Thierry

Guenter Roeck (6):
ARM: prima2: Register with kernel restart handler
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/mach-prima2/rstc.c          | 11 +++++++++--
 arch/arm/xen/enlighten.c             | 13 +++++++++++--
 arch/arm64/include/asm/system_misc.h |  2 --
 arch/arm64/kernel/process.c          |  7 +------
 drivers/firmware/psci.c              | 11 +++++++++--
 8 files changed, 49 insertions(+), 22 deletions(-)
Signature · 1 line
2.11.0