Bug 28499 - [devel-5.10] Update Zhaoxin cputemp driver for Sx warning log
Summary: [devel-5.10] Update Zhaoxin cputemp driver for Sx warning log
Status: NEW
Alias: None
Product: ANCK 5.10 Dev
Classification: ANCK
Component: X86 (show other bugs) X86
Version: unspecified
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: Guanjun
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-12-24 17:01 UTC by LeoLiu-oc
Modified: 2025-12-24 17:04 UTC (History)
0 users

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-12-24 17:01:52 UTC
This patch improves the VIA CPU temperature driver's behavior during
suspend and resume.
It adds conditions in 'via_cputemp_online' and 'via_cputemp_down_prep'
functions to skip processes
when the system is suspending or resuming, using 'cpuhp_tasks_frozen'.
This prevents potential lock-ups and ensures smoother temperature
monitoring during power state transitions.

Modified 'zhaoxin_cputemp_down_prep' to avoid system freezes
during suspend by skipping device removal when 'cpuhp_tasks_frozen' is
true.
Comment 1 小龙 admin 2025-12-24 17:04:31 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/6262