Skip to content

RFC ACPI thermal cleanups

Daniel Lezcano linux-acpi linux-pm lkml llvm 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest9 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9thermal/acpi: Remove the intermediate acpi_thermal_trip structuredrivers/acpi/thermal.c+93 -900 replies
2/9thermal/acpi: Change to a common acpi_thermal_trip structuredrivers/acpi/thermal.c+6 -290 replies
3/9thermal/acpi: Convert the acpi thermal trips to an arraydrivers/acpi/thermal.c+69 -620 replies
4/9thermal/acpi: Move the active trip points to the same arraydrivers/acpi/thermal.c+37 -380 replies
5/9thermal/acpi: Optimize get_trip_points()drivers/acpi/thermal.c+8 -110 replies
6/9thermal/acpi: Encapsualte in functions the trip initializationdrivers/acpi/thermal.c+159 -1080 replies
7/9thermal/acpi: Simplifify the condition checkdrivers/acpi/thermal.c+11 -50 replies
8/9thermal/acpi: Remove active and enabled flagsdrivers/acpi/thermal.c+2 -70 replies
9/9thermal/acpi: Rewrite the trip point intialization to use the generic thermal tripdrivers/acpi/thermal.c+186 -250 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH RFC 0/9] ACPI thermal cleanups

The thermal framework is being cleanup by changing how the thermal trips are managed. In this process, the ACPI thermal drivers deserves a big cleanup in order to use the generic trip points.

This series, which is still work in progress, has been tested on an ACPI based platform.

Daniel Lezcano (9):
thermal/acpi: Remove the intermediate acpi_thermal_trip structure thermal/acpi: Change to a common acpi_thermal_trip structure thermal/acpi: Convert the acpi thermal trips to an array thermal/acpi: Move the active trip points to the same array thermal/acpi: Optimize get_trip_points()
thermal/acpi: Encapsualte in functions the trip initialization thermal/acpi: Simplifify the condition check
thermal/acpi: Remove active and enabled flags thermal/acpi: Rewrite the trip point intialization to use the generic
thermal trip

 drivers/acpi/thermal.c | 670 ++++++++++++++++++++++++++---------------
 1 file changed, 433 insertions(+), 237 deletions(-)
Signature · 1 line
2.34.1