26 Star 12 Fork 1.3K

openEuler / intel-kernel

forked from openEuler / kernel 
 / 详情

Intel: backport TPMI RAPL driver for GNR/SRF to OLK-5.10

已完成
任务 成员
创建于  
2024-02-19 10:18

[Description]
The TPMI (Topology Aware Register and PM Capsule Interface) provides a
flexible, extendable and PCIe enumerable MMIO interface for PM features.
Intel RAPL (Running Average Power Limit) is one of the features that
benefit from this.
This RAPL TPMI Interface driver binds the RAPL auxiliary device created
by the TPMI enumeration driver and expose the RAPL control to userspace
via powercap sysfs class.
This change will backport TPMI RAPL driver support on Intel Birch
Stream (BHS) platforms (including GNR and SRF) to OLK-5.10.

[Upstream status and commits]
v6.5 merged:
49776c712eb6 powercap: RAPL: Fix a NULL vs IS_ERR() bug
4658fe81b3f8 powercap: RAPL: Fix CONFIG_IOSF_MBI dependency
9eef7f9da928 powercap: intel_rapl: Introduce RAPL TPMI interface driver
e12dee18b89f powercap: intel_rapl: Introduce core support for TPMI interface
b4288ce788aa powercap: intel_rapl: Introduce RAPL I/F type
bf44b9011df3 powercap: intel_rapl: Make cpu optional for rapl_package
693c1d7868cf powercap: intel_rapl: Remove redundant cpu parameter
f442bd274217 powercap: intel_rapl: Add support for lock bit per Power Limit
9050a9cd5e4c powercap: intel_rapl: Cleanup Power Limits support
a38f300bb23c powercap: intel_rapl: Use bitmap for Power Limits
045610c383bd powercap: intel_rapl: Change primitive order
11edbe5c66d6 powercap: intel_rapl: Use index to initialize primitive information
cb532e728ee2 powercap: intel_rapl: Support per domain energy/power/time unit
98ff639a7289 powercap: intel_rapl: Support per Interface primitive information
e8e28c2af16b powercap: intel_rapl: Support per Interface rapl_defaults
1488ac990ac8 powercap: intel_rapl: Allow probing without CPUID match
31cb1304ad8b powercap: intel_rapl: Remove unused field in struct rapl_if_priv

[Dependencies and Usage]
The backport depends on TPMI base driver, the usage of the intel-rapl driver is not changed.

[Test plan]
/sys/devices/virtual/powercap/intel-rapl/ should be available on Intel GNR or SRF platforms after the commit's been applied.

评论 (1)

Xiaolong Wang 创建了任务

Hi xiaolong-wang-intel, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: sig-Intel-Arch, and any of the maintainers: @wuzheng_e61f , @Linwang , @qiang.wei , @Youquan Song , @yunyings , @jiayingbao , @etzhao , @zhiquan1-li , @geliangtang , @gjiang , @jun.yang , @Chenxi Mao , @Xiaochen Shen , @Xiaolong Wang , @Yu Zhang , @aubreyli , @quanxianwang , @wjin123 , @Jun Miao , @Jason Zeng , @juntian , @AllenShi

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(2)
5329419 openeuler ci bot 1632792936
C
1
https://gitee.com/openeuler/intel-kernel.git
git@gitee.com:openeuler/intel-kernel.git
openeuler
intel-kernel
intel-kernel

搜索帮助