[PATCH v2 15/16] x86/resctrl: Enable package event monitoring
From: Tony Luck
Date: Fri Mar 21 2025 - 19:19:09 EST
All the code to support this is in place. Unconditionally enable
the package resource during early initialization so that domain
lists are built.
Enumeration of the package events happens at first mount, if there
are no package scoped events, then this resource is disabled.
Signed-off-by: Tony Luck <tony.luck@xxxxxxxxx>
---
arch/x86/kernel/cpu/resctrl/intel_aet.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/x86/kernel/cpu/resctrl/intel_aet.c b/arch/x86/kernel/cpu/resctrl/intel_aet.c
index 28692c6ec425..593e838fe5b6 100644
--- a/arch/x86/kernel/cpu/resctrl/intel_aet.c
+++ b/arch/x86/kernel/cpu/resctrl/intel_aet.c
@@ -293,6 +293,8 @@ int rdt_get_intel_aet_mon_config(void)
INIT_LIST_HEAD(&r->evt_list);
+ r->mon_capable = true;
+
return 1;
}
--
2.48.1