summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Audia2025-03-15 14:54:53 +0000
committerHauke Mehrtens2025-06-22 18:10:12 +0000
commit515db1e0694ab32bccdb710bbae00abc19faab9f (patch)
tree75af0a69403eb7f8d4317013430b1b23c7da9c31
parent1e00b92597a1e14b5eb07cc2f87d3b943b4bd876 (diff)
downloadopenwrt-515db1e0694ab32bccdb710bbae00abc19faab9f.tar.gz
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@proton.me> Link: https://github.com/openwrt/openwrt/pull/18255 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r--target/linux/x86/config-6.126
1 files changed, 5 insertions, 1 deletions
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