public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/2] thermal: More separation between the core and drivers
@ 2024-03-06 19:14 Rafael J. Wysocki
  2024-03-06 19:18 ` [PATCH v1 1/2] thermal: core: Move threshold out of struct thermal_trip Rafael J. Wysocki
  2024-03-06 19:20 ` [PATCH v1 2/2] thermal: core: Make struct thermal_zone_device definition internal Rafael J. Wysocki
  0 siblings, 2 replies; 3+ messages in thread
From: Rafael J. Wysocki @ 2024-03-06 19:14 UTC (permalink / raw)
  To: Linux PM
  Cc: LKML, Srinivas Pandruvada, Stanislaw Gruszka, Daniel Lezcano,
	Lukasz Luba, AngeloGioacchino Del Regno

Hi Everyone,

This series is for the next kernel development cycle and I'm sending it
mostly due to the discussion regarding the ordering of trip crossing
notifications:

https://lore.kernel.org/linux-pm/20240306085428.88011-1-daniel.lezcano@linaro.org/

because the solution of the ordering problem I have in the works is
based on it.

Still, please review it and/or test it if you can and let me know if you
discover any problems related to it (I'm not seeing any issues with it now).

Patch [1/2] is based on the observation that the threshold field in struct
thermal_trip really should be core-internal and to make that happen it
introduces a wrapper structure around struct thermal_trip for internal
use in the core.

Patch [2/2] moves the definition of the new structure and the struct
thermal_zone_device one to a local header file in the core to enforce
more separation between the core and drivers.

The patches are not expected to introduce any observable differences in
behavior, so please let me know if you see any of that.

They are based on the thermal material currently in linux-next and I'm
going to create a separate test git branch with them.

Thanks!




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-03-06 19:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-06 19:14 [PATCH v1 0/2] thermal: More separation between the core and drivers Rafael J. Wysocki
2024-03-06 19:18 ` [PATCH v1 1/2] thermal: core: Move threshold out of struct thermal_trip Rafael J. Wysocki
2024-03-06 19:20 ` [PATCH v1 2/2] thermal: core: Make struct thermal_zone_device definition internal Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox