]> www.infradead.org Git - users/hch/uuid.git/commit
thermal: intel: intel_pch: Improve cooling log
authorZhang Rui <rui.zhang@intel.com>
Thu, 30 May 2024 15:17:04 +0000 (23:17 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 7 Jun 2024 19:24:37 +0000 (21:24 +0200)
commit68de0ae4d6b5ea675b835e4a6b00f52a26cd7f0c
treeb878a61fcd4d95cef545023aeb882a12d90b4895
parent68f2d1dc4826e7bafbfbf7acc745913623a48955
thermal: intel: intel_pch: Improve cooling log

The intel_pch_thermal cooling mechanism currently only provides one of
the following final conclusions:
1. intel_pch_thermal 0000:00:12.0: CPU-PCH is cool [48C]
2. intel_pch_thermal 0000:00:12.0: CPU-PCH is cool [49C] after 30700 ms delay
3. intel_pch_thermal 0000:00:12.0: CPU-PCH is hot [60C] after 60000 ms delay. S0ix might fail
4. intel_pch_thermal 0000:00:12.0: Wakeup event detected, abort cooling

This does not provide sufficient context about what is happening,
especially for case 4.

Add one line log to indicate when PCH overheats and the cooling delay
has started.

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/thermal/intel/intel_pch_thermal.c