All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eduardo Valentin <evalenti@kernel.org>
To: daniel.lezcano@linaro.org, rafael@kernel.org, linux-pm@vger.kernel.org
Cc: Eduardo Valentin <eduval@amazon.com>
Subject: [PATCH 0/3] thermal: hook in with reboot and crash
Date: Thu, 25 May 2023 14:16:52 -0700	[thread overview]
Message-ID: <20230525211655.627415-1-evalenti@kernel.org> (raw)

From: Eduardo Valentin <eduval@amazon.com>

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(+)

-- 
2.34.1


             reply	other threads:[~2023-05-25 21:17 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-25 21:16 Eduardo Valentin [this message]
2023-05-25 21:16 ` [PATCH 1/3] thermal: core: introduce governor .reboot_prepare() Eduardo Valentin
2023-05-25 21:16 ` [PATCH 2/3] thermal: core: register reboot nb Eduardo Valentin
2023-05-25 21:16 ` [PATCH 3/3] thermal: core: register a crash callback Eduardo Valentin
2023-05-26  8:27 ` [PATCH 0/3] thermal: hook in with reboot and crash Daniel Lezcano
2023-06-05 23:27   ` [EXTERNAL][PATCH " Eduardo Valentin
2023-06-05 23:32     ` [PATCH " Eduardo Valentin
2023-06-29 19:07       ` Rafael J. Wysocki
2023-07-01  1:36         ` Eduardo Valentin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230525211655.627415-1-evalenti@kernel.org \
    --to=evalenti@kernel.org \
    --cc=daniel.lezcano@linaro.org \
    --cc=eduval@amazon.com \
    --cc=linux-pm@vger.kernel.org \
    --cc=rafael@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.