[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <4871671.31r3eYUQgx@kreacher>
Date: Mon, 02 Oct 2023 19:58:11 +0200
From: "Rafael J. Wysocki" <rjw@...ysocki.net>
To: Linux PM <linux-pm@...r.kernel.org>
Cc: LKML <linux-kernel@...r.kernel.org>,
Linux ACPI <linux-acpi@...r.kernel.org>,
Daniel Lezcano <daniel.lezcano@...aro.org>,
Zhang Rui <rui.zhang@...el.com>,
Srinivas Pandruvada <srinivas.pandruvada@...ux.intel.com>,
"Rafael J. Wysocki" <rafael@...nel.org>
Subject: [PATCH v1 0/4] thermal: Improve iteration over trip points
Hi All,
It turns out that the notification-handling code in the ACPI thermal driver
can be rearranged to iterate over trip points once, with the help of
for_each_thermal_trip() called directly under the zone lock, so patch [1/4]
adds a helper function for that and patch [2/4] changes the ACPI thermal driver
in accordance with this observation.
Next, patch [3/4] drops thermal_zone_device_exec() that is not used any more
and patch [4/4] changes the int340x thermal driver to also use the new helper
to iterate over trip points, so it need not make risky assumptions regarding
the core functionality.
Thanks!
Powered by blists - more mailing lists