]> www.infradead.org Git - users/jedix/linux-maple.git/commit
thermal/debugfs: Compute maximum temperature for mitigation episode as a whole
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 28 May 2024 14:58:56 +0000 (16:58 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 11 Jun 2024 19:04:28 +0000 (21:04 +0200)
commit881c084fc980d05d05dceac4d789a473b42e177d
treedecc74b21e0e597cdf2341fd36d0eafe8478f098
parent993c87047ddebb9cf922c489199d3a402a440979
thermal/debugfs: Compute maximum temperature for mitigation episode as a whole

Notice that the maximum temperature above the trip point must be the
same for all of the trip points involved in a given mitigation episode,
so it need not be computerd for each of them separately.

It is sufficient to compute the maximum temperature for the mitigation
episode as a whole and print it accordingly, so do that.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/thermal/thermal_debugfs.c