lkml.org 
[lkml]   [2022]   [Dec]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/4] thermal: fix locking regressions in linux-next
Date
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(-)

--
2.37.4

\
 
 \ /
  Last update: 2022-12-14 14:20    [W:0.048 / U:0.948 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site