[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230519032719.2581689-1-evalenti@kernel.org>
Date: Thu, 18 May 2023 20:27:12 -0700
From: Eduardo Valentin <evalenti@...nel.org>
To: eduval@...zon.com, linux-pm@...r.kernel.org
Cc: Eduardo Valentin <evalenti@...nel.org>,
"Rafael J. Wysocki" <rafael@...nel.org>,
Daniel Lezcano <daniel.lezcano@...aro.org>,
Amit Kucheria <amitk@...nel.org>,
Zhang Rui <rui.zhang@...el.com>,
Jonathan Corbet <corbet@....net>, linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [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" <rafael@...nel.org> (supporter:THERMAL)
Cc: Daniel Lezcano <daniel.lezcano@...aro.org> (supporter:THERMAL)
Cc: Amit Kucheria <amitk@...nel.org> (reviewer:THERMAL)
Cc: Zhang Rui <rui.zhang@...el.com> (reviewer:THERMAL)
Cc: Jonathan Corbet <corbet@....net> (maintainer:DOCUMENTATION)
Cc: linux-pm@...r.kernel.org (open list:THERMAL)
Cc: linux-doc@...r.kernel.org (open list:DOCUMENTATION)
Cc: linux-kernel@...r.kernel.org (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
Powered by blists - more mailing lists