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" <rafael@xxxxxxxxxx> (supporter:THERMAL) Cc: Daniel Lezcano <daniel.lezcano@xxxxxxxxxx> (supporter:THERMAL) Cc: Amit Kucheria <amitk@xxxxxxxxxx> (reviewer:THERMAL) Cc: Zhang Rui <rui.zhang@xxxxxxxxx> (reviewer:THERMAL) Cc: Jonathan Corbet <corbet@xxxxxxx> (maintainer:DOCUMENTATION) Cc: linux-pm@xxxxxxxxxxxxxxx (open list:THERMAL) Cc: linux-doc@xxxxxxxxxxxxxxx (open list:DOCUMENTATION) Cc: linux-kernel@xxxxxxxxxxxxxxx (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(-) -- 2.34.1