mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Misc thermal cleanup and fixes
@ 2023-01-23 15:27 Daniel Lezcano
  2023-01-23 15:27 ` [PATCH v2 1/3] thermal/core: Fix unregistering netlink at thermal init time Daniel Lezcano
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Daniel Lezcano @ 2023-01-23 15:27 UTC (permalink / raw)
  To: daniel.lezcano, rui.zhang, rafael; +Cc: linux-pm, linux-kernel

This series is based on linux-pm/thermal

It unregisters the netlink generic family for thermal in case the thermal
framework fails to initialize, removes a unneeded ida_destroy() call and moves
the thermal trip code in a separate file.

A couple of changes have been removed from the previous version:

 - Ordering the trip points. Some consolidation is needed in the set_trip_temp
   ops before ordering the trip points, so this change is postpone

 - Remove the mutex destroy call. Even if the call is not needed, the
   justification of the change is not accurate. So it is postponed also.

 V2:
   - Removed ordering the trip points change
   - Removed mutex destroy change
   - Added "No functional change intented" as requested by Rui
   - Added the function declaration for_each_thermal_trip

Daniel Lezcano (3):
  thermal/core: Fix unregistering netlink at thermal init time
  thermal/core: Remove unneeded ida_destroy()
  thermal/core: Move the thermal trip code to a dedicated file

 drivers/thermal/Makefile          |   4 +-
 drivers/thermal/thermal_core.c    |  93 +--------------
 drivers/thermal/thermal_core.h    |   4 +
 drivers/thermal/thermal_helpers.c |  62 ----------
 drivers/thermal/thermal_netlink.c |   5 +
 drivers/thermal/thermal_netlink.h |   3 +
 drivers/thermal/thermal_trip.c    | 182 ++++++++++++++++++++++++++++++
 7 files changed, 199 insertions(+), 154 deletions(-)
 create mode 100644 drivers/thermal/thermal_trip.c

-- 
2.34.1


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

end of thread, other threads:[~2023-01-25 15:44 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-23 15:27 [PATCH v2 0/3] Misc thermal cleanup and fixes Daniel Lezcano
2023-01-23 15:27 ` [PATCH v2 1/3] thermal/core: Fix unregistering netlink at thermal init time Daniel Lezcano
2023-01-24  6:37   ` Zhang, Rui
2023-01-23 15:27 ` [PATCH v2 2/3] thermal/core: Remove unneeded ida_destroy() Daniel Lezcano
2023-01-24  6:38   ` Zhang, Rui
2023-01-23 15:27 ` [PATCH v2 3/3] thermal/core: Move the thermal trip code to a dedicated file Daniel Lezcano
2023-01-24  6:38   ` Zhang, Rui
2023-01-25 11:15 ` [PATCH v2 0/3] Misc thermal cleanup and fixes Daniel Lezcano
2023-01-25 14:03   ` Rafael J. Wysocki
2023-01-25 15:44     ` 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

all inboxes | Powered by JetHome®