[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250321231609.57418-16-tony.luck@intel.com>
Date: Fri, 21 Mar 2025 16:16:05 -0700
From: Tony Luck <tony.luck@...el.com>
To: Fenghua Yu <fenghuay@...dia.com>,
Reinette Chatre <reinette.chatre@...el.com>,
Maciej Wieczor-Retman <maciej.wieczor-retman@...el.com>,
Peter Newman <peternewman@...gle.com>,
James Morse <james.morse@....com>,
Babu Moger <babu.moger@....com>,
Drew Fustini <dfustini@...libre.com>,
Dave Martin <Dave.Martin@....com>
Cc: linux-kernel@...r.kernel.org,
patches@...ts.linux.dev,
Tony Luck <tony.luck@...el.com>
Subject: [PATCH v2 15/16] x86/resctrl: Enable package event monitoring
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@...el.com>
---
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
Powered by blists - more mailing lists