[openwrt/openwrt] x86: config-6.12: enable RAPL interface
LEDE Commits
lede-commits at lists.infradead.org
Sun Jun 22 11:12:17 PDT 2025
hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/515db1e0694ab32bccdb710bbae00abc19faab9f
commit 515db1e0694ab32bccdb710bbae00abc19faab9f
Author: John Audia <therealgraysky at proton.me>
AuthorDate: Sat Mar 15 10:54:53 2025 -0400
x86: config-6.12: enable RAPL interface
Expose the sysfs interface to userspace tools for power monitoring.
Useful for tracking energy usage in CPU package, cores, DRAM, etc.
Build system: x86/64
Build-tested: x86/64
Run-tested: x86/64
Signed-off-by: John Audia <therealgraysky at proton.me>
Link: https://github.com/openwrt/openwrt/pull/18255
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
target/linux/x86/config-6.12 | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/target/linux/x86/config-6.12 b/target/linux/x86/config-6.12
index b3ef0a20a0..a3a60c4e0b 100644
--- a/target/linux/x86/config-6.12
+++ b/target/linux/x86/config-6.12
@@ -190,6 +190,7 @@ CONFIG_IA32_FEAT_CTL=y
# CONFIG_IB700_WDT is not set
# CONFIG_IBMASR is not set
# CONFIG_IBM_RTL is not set
+CONFIG_IDLE_INJECT=y
# CONFIG_IE6XX_WDT is not set
CONFIG_ILLEGAL_POINTER_VALUE=0
CONFIG_INITRAMFS_SOURCE=""
@@ -200,7 +201,9 @@ CONFIG_INSTRUCTION_DECODER=y
# CONFIG_INTEL_HFI_THERMAL is not set
# CONFIG_INTEL_LDMA is not set
# CONFIG_INTEL_PCH_THERMAL is not set
-# CONFIG_INTEL_POWERCLAMP is not set
+CONFIG_INTEL_POWERCLAMP=y
+CONFIG_INTEL_RAPL=y
+CONFIG_INTEL_RAPL_CORE=y
# CONFIG_INTEL_SCU_PCI is not set
# CONFIG_INTEL_TCC_COOLING is not set
# CONFIG_INTEL_VSEC is not set
@@ -338,6 +341,7 @@ CONFIG_PHYSICAL_ALIGN=0x100000
CONFIG_PHYSICAL_START=0x1000000
# CONFIG_PHY_INTEL_LGM_EMMC is not set
CONFIG_POSIX_CPU_TIMERS_TASK_WORK=y
+CONFIG_POWERCAP=y
CONFIG_POWER_SUPPLY=y
# CONFIG_PROCESSOR_SELECT is not set
CONFIG_PROC_PAGE_MONITOR=y
More information about the lede-commits
mailing list