!4387 intel: backport uncore freq control tpmi support for BHS platform
Merge Pull Request from: @jiayingbao Implement support of uncore frequency control via TPMI (Topology Aware Register and PM Capsule Interface). This driver provides the similar functionality as the current uncore frequency driver using MSRs. The scope of the uncore MSRs is package/die. But new generation of CPUs have more granular control at a cluster level. Each package/die can have multiple power domains, which further can have multiple clusters. The TPMI interface allows control at cluster level. The primary use case for uncore sysfs is to set maximum and minimum uncore frequency to reduce power consumption or latency. The current uncore sysfs control is per package/die. This is enough for the majority of users as workload will move to different power domains as it moves between different CPUs. The TPMI documentation can be downloaded from: https://github.com/intel/tpmi_power_management Test: uncore freq sysfs work as expected config: +CONFIG_INTEL_UNCORE_FREQ_CONTROL=m +CONFIG_INTEL_UNCORE_FREQ_CONTROL_TPMI=m Link:https://gitee.com/openeuler/kernel/pulls/4387 Reviewed-by:Liu Chao <liuchao173@huawei.com> Reviewed-by:
Jason Zeng <jason.zeng@intel.com> Signed-off-by:
Jialin Zhang <zhangjialin11@huawei.com>
Loading
Please sign in to comment