Skip to content

ACPI: thermal: Removal of redundant data and cleanup

Rafael J. Wysocki linux-acpi linux-pm lkml 1 version In review

Get series with b4
b4 am 5708760.DvuYhMxLoT@kreacher

Versions newest first

  1. v1 Latest9 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9ACPI: thermal: Simplify initialization of critical and hot tripsdrivers/acpi/thermal.c+66 -642 replies
2/9ACPI: thermal: Fold acpi_thermal_get_info() into its callerdrivers/acpi/thermal.c+19 -331 reply
3/9ACPI: thermal: Determine the number of trip points earlierdrivers/acpi/thermal.c+29 -311 reply
4/9ACPI: thermal: Create and populate trip points table earlierdrivers/acpi/thermal.c+52 -531 reply
5/9ACPI: thermal: Simplify critical and hot trips representationdrivers/acpi/thermal.c+33 -361 reply
6/9ACPI: thermal: Untangle initialization and updates of the passive tripdrivers/acpi/thermal.c+125 -731 reply
7/9ACPI: thermal: Untangle initialization and updates of active tripsdrivers/acpi/thermal.c+100 -972 replies
8/9ACPI: thermal: Drop redundant trip point flagsdrivers/acpi/thermal.c+10 -191 reply
9/9ACPI: thermal: Drop valid flag from struct acpi_thermal_tripdrivers/acpi/thermal.c+23 -262 replies

Reviews trailers per patch

All 9 patches have a Reviewed-by or Acked-by.

PatchDaniel Lezcano
1/9R-b
2/9R-b
3/9R-b
4/9R-b
5/9R-b
6/9R-b
7/9A-b
8/9R-b
9/9A-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH v1 0/9] ACPI: thermal: Removal of redundant data and cleanup

Hi Everyone,

This patch series removes some data items that have become redundant after recent changes made to the ACPI thermal driver and changes the code to be easier to follow. Among other things it does the following:

1. Removes the redundant copies of the critical and hot trip point temperature.
2. Separates the initialization of the critical and hot trip points from the post-init trip point management.
3. Reorganizes the initialization and updates of the passive and active trips.
4. Removes the redundant valid bit from the representations of the passive and active trips.

Please refer to the individual patch changelogs for details.

Thanks!