[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1e4c1894-fc38-3f73-4b6a-151096656713@intel.com>
Date: Fri, 1 Sep 2023 15:44:23 -0700
From: Fenghua Yu <fenghua.yu@...el.com>
To: Babu Moger <babu.moger@....com>, <corbet@....net>,
<reinette.chatre@...el.com>, <tglx@...utronix.de>,
<mingo@...hat.com>, <bp@...en8.de>
CC: <dave.hansen@...ux.intel.com>, <x86@...nel.org>, <hpa@...or.com>,
<paulmck@...nel.org>, <akpm@...ux-foundation.org>,
<quic_neeraju@...cinc.com>, <rdunlap@...radead.org>,
<damien.lemoal@...nsource.wdc.com>, <songmuchun@...edance.com>,
<peterz@...radead.org>, <jpoimboe@...nel.org>,
<pbonzini@...hat.com>, <chang.seok.bae@...el.com>,
<pawan.kumar.gupta@...ux.intel.com>, <jmattson@...gle.com>,
<daniel.sneddon@...ux.intel.com>, <sandipan.das@....com>,
<tony.luck@...el.com>, <james.morse@....com>,
<linux-doc@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<bagasdotme@...il.com>, <eranian@...gle.com>,
<christophe.leroy@...roup.eu>, <jarkko@...nel.org>,
<adrian.hunter@...el.com>, <quic_jiles@...cinc.com>,
<peternewman@...gle.com>
Subject: Re: [PATCH v8 8/8] x86/resctrl: Display hardware ids of resource
groups
On 8/21/23 16:30, Babu Moger wrote:
> In x86, hardware uses CLOSID and an RMID to identify a control group and
> a monitoring group respectively. When a user creates a control or monitor
> group these details are not visible to the user. These details can help
> debugging.
>
> Add CLOSID(ctrl_hw_id) and RMID(mon_hw_id) to the control/monitor groups
> display in resctrl interface. Users can see these details when resctrl
> is mounted with "-o debug" option.
>
> Other architectures do not use "CLOSID" and "RMID". Use the names
> ctrl_hw_id and mon_hw_id to refer to "CLOSID" and "RMID" respectively in
> an effort to keep the naming generic.
>
> For example:
> $cat /sys/fs/resctrl/ctrl_grp1/ctrl_hw_id
> 1
> $cat /sys/fs/resctrl/mon_groups/mon_grp1/mon_hw_id
> 3
>
> Signed-off-by: Babu Moger <babu.moger@....com>
Reviewed-by: Fenghua Yu <fenghua.yu@...el.com>
Thanks.
-Fenghua
Powered by blists - more mailing lists