Bug 26814 - [devel-6.6] Optimize VIA and Zhaoxin CPU Temperature Monitoring During System Suspend/Resume
Summary: [devel-6.6] Optimize VIA and Zhaoxin CPU Temperature Monitoring During System...
Status: NEW
Alias: None
Product: ANCK 6.6 Dev
Classification: ANCK
Component: X86 (show other bugs) X86
Version: unspecified
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: Guanjun
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-29 16:03 UTC by LeoLiu-oc
Modified: 2025-10-29 16:06 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description LeoLiu-oc zhaoxin_group 2025-10-29 16:03:01 UTC
This patch set enhances the stability and reliability of CPU temperature monitoring drivers for VIA and Zhaoxin processors during system suspend/resume cycles.
Key improvements across both patches include:
1. Adding conditional checks using the cpuhp_tasks_frozen flag in the *_online and *_down_prep functions of each driver.
2. Skipping non-essential device allocation/removal processes when the system is in a suspend or resume state.
3. Preventing potential system lock-ups caused by conflicting device operations during power state transitions, ensuring smooth temperature monitoring continuity.
The set modifies two separate driver files:
* drivers/hwmon/via-cputemp.c: Optimizes VIA CPU temperature driver behavior.
* drivers/hwmon/zhaoxin-cputemp.c: Improves Zhaoxin CPU temperature driver handling during suspend/resume.
Comment 1 小龙 admin 2025-10-29 16:06:27 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/5933