ACPI: thermal: Register thermal class cooling devices under parents
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest10 patches 30 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | ACPI: fan: Fix memory leak due to leftover devm_kcalloc() argumentdrivers/ | +3 | 3 replies | |
| 2/10 | ACPI: video: Fix backlight unregistration orderingdrivers/ | +6 | 3 replies | |
| 3/10 | thermal: core: Introduce thermal_cooling_device_create()drivers/ drivers/ drivers/ +1 more | +33 | 3 replies | |
| 4/10 | ACPI: processor: thermal: Use thermal_cooling_device_create()drivers/ drivers/ include/ | +10 | 10 replies | |
| 5/10 | ACPI: video: Use thermal_cooling_device_create()drivers/ | +16 | 1 reply | |
| 6/10 | ACPI: fan: Use thermal_cooling_device_create()drivers/ | +1 | 1 reply | |
| 7/10 | ACPI: thermal: Use cooling device parent for thermal zone bindingdrivers/ | +7 | 3 replies | |
| 8/10 | ACPI: processor: thermal: Use more suitable cooling device datadrivers/ drivers/ include/ | +7 | 1 reply | |
| 9/10 | ACPI: fan: Store ACPI device pointer in struct acpi_fandrivers/ drivers/ drivers/ | +8 | 1 reply | |
| 10/10 | ACPI: fan: Use more suitable cooling device datadrivers/ | +12 | 1 reply |
Reviews trailers per patch
All 10 patches have a Reviewed-by or Acked-by.
| Patch | Armin Wolf |
|---|---|
| 1/10 | R-b |
| 2/10 | R-b |
| 3/10 | R-b |
| 4/10 | R-b |
| 5/10 | R-b |
| 6/10 | R-b |
| 7/10 | R-b |
| 8/10 | R-b |
| 9/10 | R-b |
| 10/10 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v1 00/10] ACPI: thermal: Register thermal class cooling devices under parents
Hi All,
This series generally changes the way in which thermal class cooling devices are used by ACPI device drivers registering them (ACPI processor, ACPI fan, and ACPI video) and by the ACPI thermal zone device driver.
First, it causes the thermal class cooling devices to be registered under parents in specific locations within the device hierarchy which allows their relationships with other devices to be recognized more easily. It also drops custom sysfs attributes registered by the users of the thermal class cooling devices because they are not particularly useful any more when those devices get proper parents.
Second, it modifies the ACPI thermal zone device driver to use thermal class cooling device parent information for binding cooling devices to trip points in thermal zones, which was previously done with the help of the devdata pointers of the cooling devices and effectively prevented drivers from using the devdata pointers for their own purposes as originally intended.
Finally, it updates the ACPI processor and ACPI fan drivers to use the devdata pointers of thermal class cooling devices in a bit more efficient way.
The first two patches in the series are preliminary fixes preventing Sashiko from reporting "pre-existing issues" in the subsequent patches.
The third patch is a thermal core update allowing thermal class cooling devices to be registered under proper parents.
The other patches update the ACPI processor, ACPI video, and ACPI fan drivers as per the above.
The details are covered by individual patch changelogs.
Thanks!