Skip to content

thermal: hook in with reboot and crash

Eduardo Valentin linux-doc linux-pm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3thermal: core: introduce governor .reboot_prepare()include/linux/thermal.h+4 -00 replies
2/3thermal: core: register reboot nbdrivers/thermal/thermal_core.c+39 -00 replies
3/3thermal: core: register a crash callbackdrivers/thermal/thermal_core.c+15 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] thermal: hook in with reboot and crash

From: Eduardo Valentin <[email protected]>

Hello,

This small series of changes teaches thermal core about reboot and crash callbacks. The intention is to have the core to get notified and the pass in the event to thermal governors that are willing to perform actions during reboot or crash events. The thermal workers will be teared down in the process too.

There is no code dependency this series was built on top of:
https://lkml.org/lkml/2023/5/18/1207

Separate governor changes will be sent in another series.

BR,

Eduardo Valentin (3):
thermal: core: introduce governor .reboot_prepare()
thermal: core: register reboot nb
thermal: core: register a crash callback

 drivers/thermal/thermal_core.c | 54 ++++++++++++++++++++++++++++++++++
 include/linux/thermal.h        |  4 +++
 2 files changed, 58 insertions(+)
Signature · 1 line
2.34.1