Skip to content

thermal: fix locking regressions in linux-next

Johan Hovold linux-arm-kernel linux-arm-msm linux-pm linux-samsung-soc linux-tegra lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4thermal/drivers/qcom: fix set_trip_temp() deadlockdrivers/thermal/qcom/qcom-spmi-temp-alarm.c drivers/thermal/thermal_core.c include/linux/thermal.h+4 -10 replies
2/4thermal/drivers/exynos: fix set_trip_temp() deadlockdrivers/thermal/samsung/exynos_tmu.c+1 -11 reply
3/4thermal/drivers/tegra: fix set_trip_temp() deadlockdrivers/thermal/tegra/soctherm.c+1 -10 replies
4/4thermal/drivers/qcom: fix lock inversiondrivers/thermal/qcom/qcom-spmi-temp-alarm.c+5 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/4] thermal: fix locking regressions in linux-next

This series fixes some of the fallout after the thermal changes that just landed in linux-next.

Lockdep reported a lock inversion in one of the Qualcomm drivers and a closer review revealed that the changes had also broken the sysfs interface for at least three drivers.

Note that a simple revert of the offending patches was not an option as some of the infrastructure that the old implementation relied on has also been removed.

Johan

Johan Hovold (4):
thermal/drivers/qcom: fix set_trip_temp() deadlock thermal/drivers/exynos: fix set_trip_temp() deadlock thermal/drivers/tegra: fix set_trip_temp() deadlock thermal/drivers/qcom: fix lock inversion

 drivers/thermal/qcom/qcom-spmi-temp-alarm.c | 7 ++++++-
 drivers/thermal/samsung/exynos_tmu.c        | 2 +-
 drivers/thermal/tegra/soctherm.c            | 2 +-
 drivers/thermal/thermal_core.c              | 1 +
 include/linux/thermal.h                     | 2 ++
 5 files changed, 11 insertions(+), 3 deletions(-)
Signature · 1 line
2.37.4