Skip to content

Generic trip points for ACPI

Daniel Lezcano linux-acpi linux-pm lkml llvm oe-kbuild-all oe-lkp 2 versions New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest11 patches 0 repliesNew
  2. v111 patches 5 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11thermal/acpi: Remove the intermediate acpi_thermal_trip structuredrivers/acpi/thermal.c+100 -970 replies
2/11thermal/acpi: Change to a common acpi_thermal_trip structuredrivers/acpi/thermal.c+6 -290 replies
3/11thermal/acpi: Convert the acpi thermal trips to an arraydrivers/acpi/thermal.c+69 -610 replies
4/11thermal/acpi: Move the active trip points to the same arraydrivers/acpi/thermal.c+35 -360 replies
5/11thermal/acpi: Optimize get_trip_points()drivers/acpi/thermal.c+8 -110 replies
6/11thermal/acpi: Encapsulate in functions the trip initializationdrivers/acpi/thermal.c+154 -1030 replies
7/11thermal/acpi: Simplifify the condition checkdrivers/acpi/thermal.c+11 -50 replies
8/11thermal/acpi: Remove active and enabled flagsdrivers/acpi/thermal.c+2 -70 replies
9/11thermal/acpi: Convert the units to milli Celsuisdrivers/acpi/thermal.c+24 -320 replies
10/11thermal/acpi: Rewrite the trip point intialization to use the generic thermal tripdrivers/acpi/thermal.c+212 -260 replies
11/11thermal/acpi: Use the thermal framework ACPI APIdrivers/acpi/thermal.c+38 -470 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 00/11] Generic trip points for ACPI

This series introduces the generic trip points usage in the thermal ACPI driver. It provides a step by step changes to move the current code the generic trip points.

I don't have an ACPI platform, the code is not tested.

The changes are based on top of linux-pm/linux-next

Daniel Lezcano (11):
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: Encapsulate in functions the trip initialization thermal/acpi: Simplifify the condition check
thermal/acpi: Remove active and enabled flags thermal/acpi: Convert the units to milli Celsuis thermal/acpi: Rewrite the trip point intialization to use the generic
thermal trip
thermal/acpi: Use the thermal framework ACPI API

 drivers/acpi/thermal.c | 693 ++++++++++++++++++++++++++---------------
 1 file changed, 449 insertions(+), 244 deletions(-)
Signature · 1 line
2.34.1