[RFC PATCH v5 7/7] x86/resctrl: Relax Kconfig dependency on INTEL_PMT_TELEMETRY

Tony Luck
2026-04-10T20:05:45Z

Now that AET resolves PMT symbols at runtime via the registration API,
INTEL_PMT_TELEMETRY no longer needs to be built-in. Relax the Kconfig
dependency so that INTEL_PMT_TELEMETRY can be configured as a loadable module.

Signed-off-by: Tony Luck <tony.luck@intel.com>
---
arch/x86/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index e2df1b147184..1a60da62da33 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -542,7 +542,7 @@ config X86_CPU_RESCTRL

config X86_CPU_RESCTRL_INTEL_AET
bool "Intel Application Energy Telemetry"
- depends on X86_64 && X86_CPU_RESCTRL && CPU_SUP_INTEL && INTEL_PMT_TELEMETRY=y && INTEL_TPMI=y
+ depends on X86_64 && X86_CPU_RESCTRL && CPU_SUP_INTEL && INTEL_PMT_TELEMETRY != n && INTEL_TPMI != n
help
Enable per-RMID telemetry events in resctrl.

--
2.53.0