From: Reinette Chatre <reinette.chatre@intel.com>
To: "Luck, Tony" <tony.luck@intel.com>,
Aaron Tomlin <atomlin@atomlin.com>, Babu Moger <bmoger@amd.com>
Cc: "Dave.Martin@arm.com" <Dave.Martin@arm.com>,
"james.morse@arm.com" <james.morse@arm.com>,
"babu.moger@amd.com" <babu.moger@amd.com>,
"tglx@linutronix.de" <tglx@linutronix.de>,
"mingo@redhat.com" <mingo@redhat.com>,
"bp@alien8.de" <bp@alien8.de>,
"dave.hansen@linux.intel.com" <dave.hansen@linux.intel.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 1/2] x86/resctrl: Add io_alloc_min_cbm_all interface for CBM reset
Date: Mon, 10 Nov 2025 18:37:17 -0800 [thread overview]
Message-ID: <8391b079-4053-4f8c-b756-e1470a18fda8@intel.com> (raw)
In-Reply-To: <SJ1PR11MB60833A27A1B8057CDDFB1B2BFCCFA@SJ1PR11MB6083.namprd11.prod.outlook.com>
Hi Tony,
On 11/10/25 5:40 PM, Luck, Tony wrote:
>> Seems like user space has needed information to perform a sane reset?
>
> Like this:
>
> 1) Read info files to figure out what minimum mask is needed for this system
> 2) Use Babu's suggested syntax of
> # echo "L3:*={min_mask_from_step_1}" > schemata
Exactly, but without the "L3:" and with s/schemata/io_alloc_cbm/. Specifically,
# echo "*={min_mask_from_step_1}" > /sys/fs/resctrl/info/L3/io_alloc_cbm
I do not believe this feature is being considered for the schemata file (at this time?),
just for io_alloc_cbm.
>
> Rather than Aaron's
>
> # echo "L3:*=0" > schemata
>
> I'm OK with this for L3, but still see it being less useful for L2 with asymmetric domains.
That would first require that these L2 with asymmetric domains be made available
as resource for IO allocation. At this time the feature is limited to L3 but when/if it
expands to L2 an interface like this could remain sane by allowing values that overlap all
domains to be set on all domains with one user space call and a clear failure presented
to user via last_cmd_status on first failure if it is not possible.
>
> It can meet the "set a minimum value across all domains" need.
ack.
>
> But can fail setting a value that isn't supported by some of the domains.
>
ack.
Reinette
next prev parent reply other threads:[~2025-11-11 2:37 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-07 1:23 [PATCH 0/2] x86/resctrl: Add io_alloc_min_cbm_all interface for CBM reset Aaron Tomlin
2025-11-07 1:24 ` [PATCH 1/2] " Aaron Tomlin
2025-11-07 22:02 ` Moger, Babu
2025-11-07 22:25 ` Aaron Tomlin
2025-11-07 23:08 ` Moger, Babu
2025-11-08 0:19 ` Aaron Tomlin
2025-11-08 0:42 ` Luck, Tony
2025-11-10 16:34 ` Babu Moger
2025-11-10 17:50 ` Luck, Tony
2025-11-10 19:42 ` Babu Moger
2025-11-10 19:56 ` Luck, Tony
2025-11-10 21:40 ` Reinette Chatre
2025-11-11 0:41 ` Aaron Tomlin
2025-11-11 0:51 ` Luck, Tony
2025-11-11 1:00 ` Reinette Chatre
2025-11-11 1:40 ` Luck, Tony
2025-11-11 2:37 ` Reinette Chatre [this message]
2025-11-11 2:44 ` Aaron Tomlin
2025-11-11 15:29 ` Babu Moger
2025-11-11 21:04 ` Babu Moger
2025-11-11 22:34 ` Aaron Tomlin
2025-11-11 23:21 ` Moger, Babu
2025-11-07 1:24 ` [PATCH 2/2] fs/resctrl: resctrl: Return -EINVAL for a missing seq_show implementation Aaron Tomlin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8391b079-4053-4f8c-b756-e1470a18fda8@intel.com \
--to=reinette.chatre@intel.com \
--cc=Dave.Martin@arm.com \
--cc=atomlin@atomlin.com \
--cc=babu.moger@amd.com \
--cc=bmoger@amd.com \
--cc=bp@alien8.de \
--cc=dave.hansen@linux.intel.com \
--cc=james.morse@arm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=tglx@linutronix.de \
--cc=tony.luck@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox