Skip to content

thermal/debugfs: Fix and clean up trip point statistics updates

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

Get series with b4
b4 am 4918025.31r3eYUQgx@kreacher

Versions newest first

  1. v1 Latest3 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3thermal/debugfs: Avoid excessive updates of trip point statisticsdrivers/thermal/thermal_core.c drivers/thermal/thermal_debugfs.c+2 -82 replies
2/3thermal/debugfs: Clean up thermal_debug_update_temp()drivers/thermal/thermal_debugfs.c+11 -102 replies
3/3thermal/debugfs: Rename thermal_debug_update_temp() to thermal_debug_update_trip_stats()drivers/thermal/thermal_core.c drivers/thermal/thermal_debugfs.c drivers/thermal/thermal_debugfs.h+4 -42 replies

Reviews trailers per patch

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

PatchLukasz LubaDaniel Lezcano
1/3R-b A-b
2/3R-b A-b
3/3R-b A-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/3] thermal/debugfs: Fix and clean up trip point statistics updates

Hi Everyone,

The first patch in this series addresses the problem of updating trip point statistics prematurely for trip points that have just been crossed on the way down (please see the patch changelog for details).

The way it does that renders the following cleanup patch inapplicable:

https://lore.kernel.org/linux-pm/2321994.ElGaqSPkdT@kreacher/

The remaining two patches in the series are cleanups on top of the first one.

This series is based on an older patch series posted last week:

https://lore.kernel.org/linux-pm/13515747.uLZWGnKmhe@kreacher/

but it can be trivially rebased on top of the current linux-next.

Thanks!