[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <SJ1PR11MB6083F03111DBEB3FFD0E8CF3FC142@SJ1PR11MB6083.namprd11.prod.outlook.com>
Date: Thu, 2 Jan 2025 17:23:27 +0000
From: "Luck, Tony" <tony.luck@...el.com>
To: "Chatre, Reinette" <reinette.chatre@...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
> >> 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.
Good point. I withdraw my comment.
-Tony
Powered by blists - more mailing lists