[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <dfc63874-9150-41de-959e-cb782257e580@intel.com>
Date: Mon, 23 Dec 2024 11:32:49 -0800
From: Reinette Chatre <reinette.chatre@...el.com>
To: "Luck, Tony" <tony.luck@...el.com>, Babu Moger <babu.moger@....com>,
"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: "Yu, Fenghua" <fenghua.yu@...el.com>, "x86@...nel.org" <x86@...nel.org>,
"hpa@...or.com" <hpa@...or.com>, "akpm@...ux-foundation.org"
<akpm@...ux-foundation.org>, "paulmck@...nel.org" <paulmck@...nel.org>,
"thuth@...hat.com" <thuth@...hat.com>, "rostedt@...dmis.org"
<rostedt@...dmis.org>, "xiongwei.song@...driver.com"
<xiongwei.song@...driver.com>, "pawan.kumar.gupta@...ux.intel.com"
<pawan.kumar.gupta@...ux.intel.com>, "jpoimboe@...nel.org"
<jpoimboe@...nel.org>, "daniel.sneddon@...ux.intel.com"
<daniel.sneddon@...ux.intel.com>, "thomas.lendacky@....com"
<thomas.lendacky@....com>, "perry.yuan@....com" <perry.yuan@....com>,
"sandipan.das@....com" <sandipan.das@....com>, "Huang, Kai"
<kai.huang@...el.com>, "seanjc@...gle.com" <seanjc@...gle.com>, "Li, Xin3"
<xin3.li@...el.com>, "ebiggers@...gle.com" <ebiggers@...gle.com>,
"andrew.cooper3@...rix.com" <andrew.cooper3@...rix.com>,
"mario.limonciello@....com" <mario.limonciello@....com>,
"tan.shaopeng@...itsu.com" <tan.shaopeng@...itsu.com>, "james.morse@....com"
<james.morse@....com>, "peternewman@...gle.com" <peternewman@...gle.com>,
"linux-doc@...r.kernel.org" <linux-doc@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>, "Eranian,
Stephane" <eranian@...gle.com>, "corbet@....net" <corbet@....net>
Subject: Re: [PATCH v2 5/7] x86/resctrl: Add interface to enable/disable
io_alloc feature
Hi Tony,
On 12/18/24 3:34 PM, Luck, Tony wrote:
>> static void rdt_get_sdciae_alloc_cfg(struct rdt_resource *r)
>> {
>> r->cache.io_alloc_capable = true;
>> + resctrl_file_fflags_init("io_alloc",
>> + RFTYPE_CTRL_INFO | RFTYPE_RES_CACHE);
>> }
>
> I think those fflags will make this file appear in all info cache directories
> (L2 and L3).
>
> Presumably you only want this file (and "io_alloc_cbm" added by next
> patch) in the L3 directory.
Could you please elaborate why this file should only be in L3 directory? I do not see
the problem with having it in L2. "io_alloc" communicates to user space if this I/O alloc
feature is supported and does so with its content as opposed to its existence. For L2
it will indicate that the feature is not supported.
Reinette
Powered by blists - more mailing lists