Skip to content

Deprecate register_restart_handler()

Andrew Davis linux-arm-kernel linux-pm linux-spi lkml oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Changes from RFC from the cover letter

- Add Reviewed-by tag
- Rebase on v6.8-rc1 and drop taken patch

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4kernel/reboot: Deprecate register_restart_handler()include/linux/reboot.h kernel/reboot.c+9 -20 replies
2/4drivers/soc/litex: Use devm_register_restart_handler()drivers/soc/litex/litex_soc_ctrl.c+5 -180 replies
3/4firmware: psci: Use register_sys_off_handler(SYS_OFF_MODE_RESTART)drivers/firmware/psci/psci.c+2 -80 replies
4/4firmware: ti_sci: Use devm_register_restart_handler()drivers/firmware/ti_sci.c+5 -91 reply

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchGabriel Somlo
1/4
2/4R-b
3/4
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] Deprecate register_restart_handler()

Hello all,

Explanation is in patch #1.

The rest of this series is a set of representative examples of converting away from the old API. They should be valid and can be taken by their respective maintainers even if patch #1 doesn't find acceptance.

Thanks,
Andrew

Changes from RFC:
- Add Reviewed-by tag
- Rebase on v6.8-rc1 and drop taken patch

Andrew Davis (4):
kernel/reboot: Deprecate register_restart_handler() drivers/soc/litex: Use devm_register_restart_handler()
firmware: psci: Use register_sys_off_handler(SYS_OFF_MODE_RESTART)
firmware: ti_sci: Use devm_register_restart_handler()

 drivers/firmware/psci/psci.c       | 10 ++--------
 drivers/firmware/ti_sci.c          | 14 +++++---------
 drivers/soc/litex/litex_soc_ctrl.c | 23 +++++------------------
 include/linux/reboot.h             |  8 ++++++--
 kernel/reboot.c                    |  3 +++
 5 files changed, 21 insertions(+), 37 deletions(-)
Signature · 1 line
2.39.2