Unverified Commit e45841dc authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!29 Intel SPR: HFI support

Intel has described the Hardware Feedback Interface (HFI) in the Intel 64 and
IA-32 Architectures Software Developer's Manual (Intel SDM) Volume 3 Section
14.6 [1]_.
The HFI gives the operating system a performance and energy efficiency
capability data for each CPU in the system. Linux can use the information from
the HFI to influence task placement decisions.

this PR backport HFI driver from upstream 5.18.
Test passed with below step:
1 cat /proc/cpuinfo to confirm hfi is supported by cpu
2 install latest intel-speed-select tool (at lease v1.12 )
3 run cmd: ./intel-speed-select -d -b which is Start a daemon to process HFI events for perf profile change from Out of Band agent
4 it will show “hfi is initialized” and waiting for more msg if no error occurred.
5 in another shell, to run cmd ./intel-speed-select perf-profile set-config-level -l x to change TDP level
6 THERMAL_GENL_EVENT_CPU_CAPABILITY_CHANGE will be received in “cmd: ./intel-speed-select -d -b” shell which mean test passed.

Config
+CONFIG_INTEL_HFI_THERMAL=y

Link: https://gitee.com/openeuler/kernel/pulls/29

 

From: @juntianlinux 
Reviewed-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
Reviewed-by: default avatarXie XiuQi <xiexiuqi@huawei.com>
Signed-off-by: default avatarXie XiuQi <xiexiuqi@huawei.com>
parents ca62f909 ddbef6c0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment