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

!4648 [OLK-5.10] Intel: backport TPMI RAPL driver for GNR/SRF

Merge Pull Request from: @xiaolong-wang-intel 
 
Backport TPMI RAPL driver support on Intel Birch Stream (BHS) platforms (including GNR and SRF) to OLK-5.10, including the following commits from upstream Linux kernel v6.5 and dependencies:
49776c71 powercap: RAPL: Fix a NULL vs IS_ERR() bug
9eef7f9d powercap: intel_rapl: Introduce RAPL TPMI interface driver
e12dee18 powercap: intel_rapl: Introduce core support for TPMI interface
b4288ce7 powercap: intel_rapl: Introduce RAPL I/F type
bf44b901 powercap: intel_rapl: Make cpu optional for rapl_package
  65348ba2 powercap: intel_rapl: Use topology interface in rapl_init_domains()
693c1d78 powercap: intel_rapl: Remove redundant cpu parameter
f442bd27 powercap: intel_rapl: Add support for lock bit per Power Limit
9050a9cd powercap: intel_rapl: Cleanup Power Limits support
a38f300b powercap: intel_rapl: Use bitmap for Power Limits
  a5923b6c thermal: int340x: processor_thermal: Refactor MMIO interface.
045610c3 powercap: intel_rapl: Change primitive order
11edbe5c powercap: intel_rapl: Use index to initialize primitive information
cb532e72 powercap: intel_rapl: Support per domain energy/power/time unit
  59cafa72 powercap: intel_rapl: remove redundant store to value after multiply
98ff639a powercap: intel_rapl: Support per Interface primitive information
e8e28c2a powercap: intel_rapl: Support per Interface rapl_defaults
  88ffce95 powercap: intel_rapl: Use topology interface in rapl_add_package()
1488ac99 powercap: intel_rapl: Allow probing without CPUID match
31cb1304 powercap: intel_rapl: Remove unused field in struct rapl_if_priv

Intel-kernel issue:
https://gitee.com/openeuler/intel-kernel/issues/I92135

Test:
/sys/devices/virtual/powercap/intel-rapl/ will be available on Intel GNR/SRF platforms after this patchset is merged.

Known issue:
N/A

Default config change:
+CONFIG_INTEL_RAPL_TPMI=m 
 
Link:https://gitee.com/openeuler/kernel/pulls/4648

 

Reviewed-by: default avatarJason Zeng <jason.zeng@intel.com>
Reviewed-by: default avatarAichun Shi <aichun.shi@intel.com>
Reviewed-by: default avatarLiu Chao <liuchao173@huawei.com>
Signed-off-by: default avatarJialin Zhang <zhangjialin11@huawei.com>
parents 13188fc5 c7466302
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment