[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <298f769b-b893-4ed8-90b1-d9d9dce25037@intel.com>
Date: Wed, 17 Sep 2025 22:44:23 -0700
From: Reinette Chatre <reinette.chatre@...el.com>
To: Babu Moger <babu.moger@....com>, <corbet@....net>, <tony.luck@...el.com>,
<Dave.Martin@....com>, <james.morse@....com>, <tglx@...utronix.de>,
<mingo@...hat.com>, <bp@...en8.de>, <dave.hansen@...ux.intel.com>
CC: <x86@...nel.org>, <hpa@...or.com>, <kas@...nel.org>,
<rick.p.edgecombe@...el.com>, <akpm@...ux-foundation.org>,
<paulmck@...nel.org>, <pmladek@...e.com>,
<pawan.kumar.gupta@...ux.intel.com>, <rostedt@...dmis.org>,
<kees@...nel.org>, <arnd@...db.de>, <fvdl@...gle.com>, <seanjc@...gle.com>,
<thomas.lendacky@....com>, <manali.shukla@....com>, <perry.yuan@....com>,
<sohil.mehta@...el.com>, <xin@...or.com>, <peterz@...radead.org>,
<mario.limonciello@....com>, <gautham.shenoy@....com>, <nikunj@....com>,
<dapeng1.mi@...ux.intel.com>, <ak@...ux.intel.com>,
<chang.seok.bae@...el.com>, <ebiggers@...gle.com>,
<linux-doc@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-coco@...ts.linux.dev>, <kvm@...r.kernel.org>
Subject: Re: [PATCH v9 08/10] fs/resctrl: Modify rdt_parse_data to pass mode
and CLOSID
Hi Babu,
nit:
Subject: fs/resctrl: Modify struct rdt_parse_data to pass mode and CLOSID
On 9/2/25 3:41 PM, Babu Moger wrote:
> parse_cbm() require resource group mode and CLOSID to validate the Capacity
> Bit Mask (CBM). It is passed via struct rdtgroup in struct rdt_parse_data.
>
> The io_alloc feature also uses CBMs to indicate which portions of cache are
> allocated for I/O traffic. The CBMs are provided by user space and need to
> be validated the same as CBMs provided for general (CPU) cache allocation.
> parse_cbm() cannot be used as-is since io_alloc does not have rdtgroup
> context.
>
> Pass the resource group mode and CLOSID directly to parse_cbm() via struct
> rdt_parse_data, instead of through the rdtgroup struct, to facilitate
> calling parse_cbm() to verify the CBM of the io_alloc feature.
>
> Signed-off-by: Babu Moger <babu.moger@....com>
> ---
With Subject change:
| Reviewed-by: Reinette Chatre <reinette.chatre@...el.com>
Reinette
Powered by blists - more mailing lists