Skip to content

thermal: enhancements on thermal stats

Eduardo Valentin linux-doc linux-pm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7thermal: stats: track time each dev changes due to tzDocumentation/driver-api/thermal/sysfs-api.rst drivers/thermal/thermal_core.c drivers/thermal/thermal_core.h +2 more+139 -91 reply
1/7thermal: stats: track time each dev changes due to tz+0 -00 replies
2/7thermal: stats: track number of change requests due to tzDocumentation/driver-api/thermal/sysfs-api.rst drivers/thermal/thermal_core.h drivers/thermal/thermal_sysfs.c+55 -01 reply
2/7thermal: stats: track number of change requests due to tz+0 -00 replies
3/7thermal: stats: introduce thermal zone stats/ directoryDocumentation/driver-api/thermal/sysfs-api.rst drivers/thermal/thermal_core.c drivers/thermal/thermal_core.h +2 more+147 -40 replies
4/7thermal: stats: introduce thermal zone stats/min_gradientDocumentation/driver-api/thermal/sysfs-api.rst drivers/thermal/thermal_sysfs.c+24 -01 reply
5/7thermal: stats: introduce tz time in tripDocumentation/driver-api/thermal/sysfs-api.rst drivers/thermal/thermal_sysfs.c+88 -01 reply
5/7thermal: stats: introduce tz time in trip+0 -01 reply
5/7thermal: stats: introduce tz time in trip+0 -00 replies
6/7ythermal: core: report errors to governorsdrivers/thermal/thermal_core.c include/linux/thermal.h+12 -01 reply
6/7ythermal: core: report errors to governors+0 -00 replies
7/7thermal: stats: add error accounting to thermal zonedrivers/thermal/thermal_core.c drivers/thermal/thermal_core.h drivers/thermal/thermal_sysfs.c+74 -01 reply
7/7thermal: stats: add error accounting to thermal zone+0 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/7] thermal: enhancements on thermal stats

Hello Rafael and Daniel

After a long hiatus, I am returning to more frequent contributions to the thermal subsystems, as least until I drain some of the commits I have in my trees.

This is a first series of several that will come as improvements on the thermal subsystem that will enable using this subsystem in the Baseboard Management Controller (BMC) space, as part of the Nitro BMC project. To do so, there were a few improvements and new features wrote.

In this series in particular, I present a set of enhancements on how we are handling statistics. The cooling device stats are awesome, but I added a few new entries there. I also introduce stats per thermal zone here too.

I tried to keep documentation as current as possible. I may have missed a thing or two, so please help me out here. Testing/Examples are in each code.

Let me know any feeback,

BR,

Cc "Rafael J. Wysocki" <[email protected]> (supporter:THERMAL)
Cc Daniel Lezcano <[email protected]> (supporter:THERMAL)
Cc Amit Kucheria <[email protected]> (reviewer:THERMAL)
Cc Zhang Rui <[email protected]> (reviewer:THERMAL)
Cc Jonathan Corbet <[email protected]> (maintainer:DOCUMENTATION)
Cc [email protected] (open list:THERMAL)
Cc [email protected] (open list:DOCUMENTATION)
Cc [email protected] (open list)

Eduardo Valentin (7):
thermal: stats: track time each dev changes due to tz
thermal: stats: track number of change requests due to tz
thermal: stats: introduce thermal zone stats/ directory
thermal: stats: introduce thermal zone stats/min_gradient
thermal: stats: introduce tz time in trip
ythermal: core: report errors to governors
thermal: stats: add error accounting to thermal zone

 .../driver-api/thermal/sysfs-api.rst          |  10 +
 drivers/thermal/thermal_core.c                |  15 +-
 drivers/thermal/thermal_core.h                |  16 +
 drivers/thermal/thermal_helpers.c             |  11 +-
 drivers/thermal/thermal_sysfs.c               | 495 +++++++++++++++++-
 include/linux/thermal.h                       |   5 +
 6 files changed, 539 insertions(+), 13 deletions(-)
Signature · 1 line
2.34.1