Bug 213895

Summary: intel_pch_thermal CPU-PCH is hot [53C] even after delay, continue to suspend. S0ix might fail
Product: ACPI Reporter: Chris Murphy (bugzilla)
Component: Power-ThermalAssignee: Zhang Rui (rui.zhang)
Status: CLOSED PATCH_ALREADY_AVAILABLE    
Severity: normal CC: rui.zhang
Priority: P1    
Hardware: Intel   
OS: Linux   
Kernel Version: 5.13.5-200.fc34.x86_64 Subsystem:
Regression: No Bisected commit-id:
Attachments: dmesg

Description Chris Murphy 2021-07-28 17:49:41 UTC
Created attachment 298091 [details]
dmesg

ThinkPad X1 Carbon gen 7; out of the box intel_pch_thermal is claiming CPU-PCH is hot soon after boot/startup. No fans running, battery remaining seems reasonable.

Problem also happens with 5.14-rc3 but I don't have as many samples for it.
Comment 1 Chris Murphy 2021-07-28 18:04:07 UTC
Also seen in 5.12.13-300.fc34.x86_64.
Comment 2 Chris Murphy 2021-07-28 18:12:04 UTC
Disregard comment 1. Those messages were all in the form of:

>kernel: intel_pch_thermal 0000:00:12.0: CPU-PCH is cool [27C], continue to
>suspend

The first time the kernel reports this laptop as hot is with 5.12.14-300.fc34.x86_64 but I don't see anything in the changelog that applies to pch or thermal at all.

[chris@fovo ~]$ rpm -q thermald
thermald-2.4.6-1.fc34.x86_64
[chris@fovo ~]$ sudo systemctl status thermald
[sudo] password for chris: 
○ thermald.service - Thermal Daemon Service
     Loaded: loaded (/usr/lib/systemd/system/thermald.service; enabled; vendor preset: enabled)
     Active: inactive (dead) since Wed 2021-07-28 11:00:26 MDT; 1h 10min ago
    Process: 794 ExecStart=/usr/sbin/thermald --systemd --dbus-enable --adaptive (code=exited, status=0/SUCCESS)
   Main PID: 794 (code=exited, status=0/SUCCESS)
        CPU: 12ms

Jul 28 11:00:26 fovo.local systemd[1]: Starting Thermal Daemon Service...
Jul 28 11:00:26 fovo.local thermald[794]: 22 CPUID levels; family:model:stepping 0x6:8e:c (6:142:12)
Jul 28 11:00:26 fovo.local thermald[794]: [/sys/devices/platform/thinkpad_acpi/dytc_lapmode] present: Thermald can't run on this platform
Jul 28 11:00:26 fovo.local systemd[1]: Started Thermal Daemon Service.
Jul 28 11:00:26 fovo.local thermald[794]: Unsupported cpu model or platform
Jul 28 11:00:26 fovo.local systemd[1]: thermald.service: Deactivated successfully.
Comment 3 Zhang Rui 2022-06-21 09:05:41 UTC
This is expected behavior.
Please retry with 5.19-rc kernel, there should be longer time delay, but the system should be able to suspend with temperature dropped.
Comment 4 Zhang Rui 2022-06-21 09:06:37 UTC
I will close this bug report because the problem should go away in 5.18-rc.

Please reopen it if the problem still exists with latest upstream kernel.