Skip to content

thermal: Pass trip pointer to .set_trip_temp() callback

Rafael J. Wysocki linux-pm linux-tegra linux-wireless lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5thermal: helpers: Introduce thermal_trip_is_bound_to_cdev()drivers/thermal/thermal_helpers.c include/linux/thermal.h+38 -120 replies
2/5thermal: trip: Add conversion macros for thermal trip priv fielddrivers/thermal/intel/int340x_thermal/int340x_thermal_zone.c include/linux/thermal.h+5 -120 replies
3/5thermal: trip: Pass trip pointer to .set_trip_temp() thermal zone callbackdrivers/net/wireless/intel/iwlwifi/mvm/tt.c drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.c drivers/thermal/intel/int340x_thermal/processor_thermal_device_pci.c +7 more+54 -382 replies
4/5thermal: imx: Drop critical trip check from imx_set_trip_temp()drivers/thermal/imx_thermal.c+0 -91 reply
5/5thermal: trip: Fold __thermal_zone_get_trip() into its callerdrivers/thermal/thermal_trip.c include/linux/thermal.h+4 -160 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RESEND][PATCH v1 0/5] thermal: Pass trip pointer to .set_trip_temp() callback

Hi Everyone,

This is a partial resend of the patch series at

https://lore.kernel.org/linux-pm/8409966.T7Z3S40VBb@kreacher/

that has not received much attention.

However, I would like to get at least some of it into 6.11 and we are effectively 2 weeks away from the merge window. I'd need to put them into linux-next this week so they received at least some coverage there.

Since the majority of the original series is mostly unrelated changes in different drivers which can wait, this is a smaller set of 5 patches including the most significant change of the driver interface, which to pass a trip pointer to the .set_trip_temp() zone callback.

Two of the other 4 patches are preparatory and the other 2 are cleanups, one in the imx driver and one in the core, where the former is needed to unlock the latter.

This series is based on the current thermal branch in linux-pm.git.

Thanks!