[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <13318886.uLZWGnKmhe@kreacher>
Date: Tue, 18 Jul 2023 20:01:20 +0200
From: "Rafael J. Wysocki" <rjw@...ysocki.net>
To: Linux ACPI <linux-acpi@...r.kernel.org>
Cc: LKML <linux-kernel@...r.kernel.org>,
Linux PM <linux-pm@...r.kernel.org>,
Michal Wilczynski <michal.wilczynski@...el.com>,
Zhang Rui <rui.zhang@...el.com>,
Srinivas Pandruvada <srinivas.pandruvada@...ux.intel.com>,
Daniel Lezcano <daniel.lezcano@...aro.org>
Subject: [PATCH v1 0/7] ACPI: thermal: Use trip point table to register thermal zones
Hi Everyone,
This patch series makes the ACPI thermal driver register thermal zones
with the help of thermal_zone_device_register_with_trips(), so it
doesn't need to use the thermal zone callbacks related to trip points
any more (and they are dropped in the last patch).
The approach presented here is quite radically different from the
previous attempts, as it doesn't really rearrange the driver's
internal data structures, but adds the trip table support on top of
them. For this purpose, it uses an additional field in struct thermal_trip
introduced in the first patch.
I have run it on my test-bed systems, but this is not too representative,
because they each have only one ACPI thermal zone with only one (critical)
trip point in it.
Thanks,
Rafael
Powered by blists - more mailing lists