[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <456839d0-031c-448d-9f54-5e65a29ebf9d@intel.com>
Date: Tue, 15 Apr 2025 09:38:56 -0700
From: Reinette Chatre <reinette.chatre@...el.com>
To: <babu.moger@....com>, <tony.luck@...el.com>, <peternewman@...gle.com>
CC: <corbet@....net>, <tglx@...utronix.de>, <mingo@...hat.com>,
<bp@...en8.de>, <dave.hansen@...ux.intel.com>, <x86@...nel.org>,
<hpa@...or.com>, <paulmck@...nel.org>, <akpm@...ux-foundation.org>,
<thuth@...hat.com>, <rostedt@...dmis.org>, <ardb@...nel.org>,
<gregkh@...uxfoundation.org>, <daniel.sneddon@...ux.intel.com>,
<jpoimboe@...nel.org>, <alexandre.chartre@...cle.com>,
<pawan.kumar.gupta@...ux.intel.com>, <thomas.lendacky@....com>,
<perry.yuan@....com>, <seanjc@...gle.com>, <kai.huang@...el.com>,
<xiaoyao.li@...el.com>, <kan.liang@...ux.intel.com>, <xin3.li@...el.com>,
<ebiggers@...gle.com>, <xin@...or.com>, <sohil.mehta@...el.com>,
<andrew.cooper3@...rix.com>, <mario.limonciello@....com>,
<linux-doc@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<maciej.wieczor-retman@...el.com>, <eranian@...gle.com>
Subject: Re: [PATCH v12 13/26] x86/resctrl: Implement
resctrl_arch_config_cntr() to assign a counter with ABMC
Hi Babu,
On 4/14/25 1:51 PM, Moger, Babu wrote:
> Hi Reinette,
>
> On 4/11/25 16:02, Reinette Chatre wrote:
>> Hi Babu,
>>
>> On 4/3/25 5:18 PM, Babu Moger wrote:
>>> @@ -394,6 +394,21 @@ void resctrl_arch_mon_event_config_set(void *config_info);
>>> u32 resctrl_arch_mon_event_config_get(struct rdt_mon_domain *d,
>>> enum resctrl_event_id eventid);
>>>
>>> +/**
>>> + * resctrl_arch_config_cntr() - Configure the counter on the domain
>>> + * @r: resource that the counter should be read from.
>>> + * @d: domain that the counter should be read from.
>>> + * @evtid: event type to assign
>>> + * @rmid: rmid of the counter to read.
>>> + * @closid: closid that matches the rmid.
>>> + * @cntr_id: Counter ID to configure
>>> + * @evt_cfg: event configuration
>>
>> "event configuration" is simply an expansion of member name and does not help to
>> understand what the value represents.
>
> How about?
>
> "MBM Event configuration value representing reads, writes etc.."
This is more helpful (note Event -> event). When data structures are decided it
will also be helpful to include reference of where this data is maintained and
how it is formatted.
Reinette
Powered by blists - more mailing lists