powercap: intel_rapl: Use topology interface in rapl_add_package()
mainline inclusion from mainline-v5.12-rc1 commit 88ffce95 category: feature bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I92135 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=88ffce95764603e13eda4be003ec919e124ec365 -------------------------------- It's not a good idea to access phys_proc_id and cpu_die_id directly. Use topology_physical_package_id(cpu) and topology_die_id(cpu) instead. Intel-SIG: commit 88ffce95 powercap: intel_rapl: Use topology interface in rapl_add_package() Backport a dependency of Intel RAPL driver support on TPMI. Signed-off-by:Yunfeng Ye <yeyunfeng@huawei.com> [ rjw: Changelog edits ] Signed-off-by:
Rafael J. Wysocki <rafael.j.wysocki@intel.com> [ Xiaolong Wang: amend commit log ] Signed-off-by:
Xiaolong Wang <xiaolong.wang@intel.com>
Loading
Please sign in to comment