x86: config-6.12: enable RAPL interface
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run

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>
This commit is contained in:
John Audia 2025-03-15 10:54:53 -04:00 committed by Hauke Mehrtens
parent 1e00b92597
commit 515db1e069

View file

@ -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