!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:Zheng Zengkai <zhengzengkai@huawei.com> Reviewed-by:
Xie XiuQi <xiexiuqi@huawei.com> Signed-off-by:
Xie XiuQi <xiexiuqi@huawei.com>
Loading
Please sign in to comment