Bug 28468 - [devel-5.10] hwmon/zhaoxin: Modernize cputemp driver code and add more cpu support
Summary: [devel-5.10] hwmon/zhaoxin: Modernize cputemp driver code and add more cpu su...
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-23 19:02 UTC by LeoLiu-oc
Modified: 2025-12-23 19:10 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-23 19:02:10 UTC
Current zhaoxin-cputemp driver code need modernizes the Zhaoxin CPU temperature driver with several improvements:

1. Set the driver to load as module by default in Kconfig
2. Modernize CPU matching using X86_MATCH_VENDOR_FAM_MODEL macro
3. Improve code readability with consistent naming(zhaoxin_cputemp_cpu_ids)
4. Fix indentation in cpuhp_setup_state function call
5. Maintain support for all existing Zhaoxin and Centaur processor models
Comment 1 小龙 admin 2025-12-23 19:10:13 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/6255