Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'thermal-6.9-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm

Pull thermal control fix from Rafael Wysocki:
"This prevents the thermal debug code from attempting to divide by zero
and corrects trip point statistics (Rafael Wysocki)"

* tag 'thermal-6.9-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
thermal/debugfs: Add missing count increment to thermal_debug_tz_trip_up()

+1
+1
drivers/thermal/thermal_debugfs.c
··· 616 616 tze->trip_stats[trip_id].timestamp = now; 617 617 tze->trip_stats[trip_id].max = max(tze->trip_stats[trip_id].max, temperature); 618 618 tze->trip_stats[trip_id].min = min(tze->trip_stats[trip_id].min, temperature); 619 + tze->trip_stats[trip_id].count++; 619 620 tze->trip_stats[trip_id].avg = tze->trip_stats[trip_id].avg + 620 621 (temperature - tze->trip_stats[trip_id].avg) / 621 622 tze->trip_stats[trip_id].count;