- Rework a large bunch of drivers to use the generic thermal trip

structure and the opportunity to do more cleanups by removing unused
   functions in the OF code (Daniel Lezcano)
 
 - Fix some locking issues related to the generic thermal trip rework
   (Johan Hovold)
 
 - Fix a crash when requesting the critical temperature on tegra, this
   fix is related to the generic trip point (Jon Hunter)
 
 - Use strscpy() to instead of strncpy() (Xu Panda)
 -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEEGn3N4YVz0WNVyHskqDIjiipP6E8FAmO7JHoACgkQqDIjiipP
 6E/yKwgAsczPvraHXpVdNn0qOiS8fnKyESIKIkVI+jRdUZk918n4ZTzWZSxxJCr5
 Gl3BQs2pHjX4dIpG4YlxOYtJ5KoUw1enlCwDC3S8nAUufzl/RGAwJVIQwRiIbePY
 baXoVqtuBFmbPlqO6NzQrB0KXHU/UyItXjn2zhxV4yuI5plJPeAoYDYuIBdepn1g
 b3g0SP1dWp/IM6wVO1tBGVGkGOXKYtsDv1MhSwdyvIKB5utXA98znn36IHvWt3i0
 EdHW42R2e3wAloGuoMlppwGvdBNMhT/etB0Xoc0F83qzw0VUfUjwilSZP+DW5q7B
 Uqv9aN91JRvkUfoOJHMGCl0Sb2fM8A==
 =zJV4
 -----END PGP SIGNATURE-----

Merge tag 'generic-trip-point' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/thermal/linux

Pull thermal control updates for 6.3 from Daniel Lezcano:

"- Rework a large bunch of drivers to use the generic thermal trip
   structure and the opportunity to do more cleanups by removing unused
   functions in the OF code (Daniel Lezcano).

 - Fix some locking issues related to the generic thermal trip rework
   (Johan Hovold).

 - Fix a crash when requesting the critical temperature on tegra, this
   fix is related to the generic trip point (Jon Hunter).

 - Use strscpy() to instead of strncpy() (Xu Panda)."

* tag 'generic-trip-point' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/thermal/linux: (37 commits)
  thermal/drivers/armada: Use strscpy() to instead of strncpy()
  thermal/drivers/qcom: Fix lock inversion
  thermal/drivers/tegra: Fix set_trip_temp() deadlock
  thermal/drivers/qcom: Fix set_trip_temp() deadlock
  thermal/drivers/mellanox: Use generic thermal_zone_get_trip() function
  wifi: iwlwifi: Use generic thermal_zone_get_trip() function
  thermal/drivers/tegra: Fix crash when getting critical temp
  thermal/drivers/exynos: Fix NULL pointer dereference when getting the critical temp
  thermal/drivers/intel: Use generic thermal_zone_get_trip() function
  thermal/intel/int340x: Replace parameter to simplify
  thermal/drivers/cxgb4: Use generic thermal_zone_get_trip() function
  thermal/drivers/acerhdf: Use generic thermal_zone_get_trip() function
  thermal/drivers/ti: Remove unused macros ti_thermal_get_trip_value() / ti_thermal_trip_is_valid()
  thermal/drivers/da9062: Use generic thermal_zone_get_trip() function
  thermal/drivers/broadcom: Use generic thermal_zone_get_trip() function
  thermal/drivers/rcar: Use generic thermal_zone_get_trip() function
  thermal/drivers/imx: Use generic thermal_zone_get_trip() function
  thermal/drivers/st: Use generic trip points
  thermal/of: Remove of_thermal_get_crit_temp()
  thermal/of: Remove of_thermal_set_trip_hyst()
  ...
This commit is contained in:
Rafael J. Wysocki 2023-01-09 20:51:39 +01:00
commit 976cb655c9
35 changed files with 618 additions and 1046 deletions