[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <SJ1PR11MB6083C5179F98E3873CA34C35FC99A@SJ1PR11MB6083.namprd11.prod.outlook.com>
Date: Thu, 22 May 2025 22:16:16 +0000
From: "Luck, Tony" <tony.luck@...el.com>
To: "Chatre, Reinette" <reinette.chatre@...el.com>, Babu Moger
<babu.moger@....com>, "corbet@....net" <corbet@....net>, "tglx@...utronix.de"
<tglx@...utronix.de>, "mingo@...hat.com" <mingo@...hat.com>, "bp@...en8.de"
<bp@...en8.de>, "dave.hansen@...ux.intel.com" <dave.hansen@...ux.intel.com>
CC: "james.morse@....com" <james.morse@....com>, "dave.martin@....com"
<dave.martin@....com>, "fenghuay@...dia.com" <fenghuay@...dia.com>,
"x86@...nel.org" <x86@...nel.org>, "hpa@...or.com" <hpa@...or.com>,
"paulmck@...nel.org" <paulmck@...nel.org>, "akpm@...ux-foundation.org"
<akpm@...ux-foundation.org>, "thuth@...hat.com" <thuth@...hat.com>,
"rostedt@...dmis.org" <rostedt@...dmis.org>, "ardb@...nel.org"
<ardb@...nel.org>, "gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>,
"daniel.sneddon@...ux.intel.com" <daniel.sneddon@...ux.intel.com>,
"jpoimboe@...nel.org" <jpoimboe@...nel.org>, "alexandre.chartre@...cle.com"
<alexandre.chartre@...cle.com>, "pawan.kumar.gupta@...ux.intel.com"
<pawan.kumar.gupta@...ux.intel.com>, "thomas.lendacky@....com"
<thomas.lendacky@....com>, "perry.yuan@....com" <perry.yuan@....com>,
"seanjc@...gle.com" <seanjc@...gle.com>, "Huang, Kai" <kai.huang@...el.com>,
"Li, Xiaoyao" <xiaoyao.li@...el.com>, "kan.liang@...ux.intel.com"
<kan.liang@...ux.intel.com>, "Li, Xin3" <xin3.li@...el.com>,
"ebiggers@...gle.com" <ebiggers@...gle.com>, "xin@...or.com" <xin@...or.com>,
"Mehta, Sohil" <sohil.mehta@...el.com>, "andrew.cooper3@...rix.com"
<andrew.cooper3@...rix.com>, "mario.limonciello@....com"
<mario.limonciello@....com>, "linux-doc@...r.kernel.org"
<linux-doc@...r.kernel.org>, "linux-kernel@...r.kernel.org"
<linux-kernel@...r.kernel.org>, "peternewman@...gle.com"
<peternewman@...gle.com>, "Wieczor-Retman, Maciej"
<maciej.wieczor-retman@...el.com>, "Eranian, Stephane" <eranian@...gle.com>,
"Xiaojian.Du@....com" <Xiaojian.Du@....com>, "gautham.shenoy@....com"
<gautham.shenoy@....com>
Subject: RE: [PATCH v13 11/27] x86/resctrl: Implement
resctrl_arch_config_cntr() to assign a counter with ABMC
> It looks to me as though there are a couple of changes in the telemetry work
> that would benefit this work. https://lore.kernel.org/lkml/20250521225049.132551-2-tony.luck@intel.com/
> switches the monitor events to be maintained in an array indexed by event ID, eliminating the
> need for searching the evt_list that this work does in a couple of places. Also note the handy
> new for_each_mbm_event() helper (https://lore.kernel.org/lkml/20250521225049.132551-5-tony.luck@intel.com/).
Yesterday I ran through the exercise of rebasing my AET patches on top of these
ABMC patches in order to check whether the ABMC patches painted resctrl
into some corner that would be hard to get back out of.
Good news: they don't.
There was a bunch of manual patching to make the first four patches fit on top
of the ABMC code, but I also noticed a few places where things were simpler
after combining the two series.
Maybe a good path forward would be to take those first four patches from
my AET series and then build ABMC on top of those.
-Tony
Powered by blists - more mailing lists