From: Aaron Tomlin <atomlin@atomlin.com>
To: tony.luck@intel.com, reinette.chatre@intel.com,
Dave.Martin@arm.com, james.morse@arm.com, babu.moger@amd.com,
tglx@linutronix.de, mingo@redhat.com, bp@alien8.de,
dave.hansen@linux.intel.com
Cc: dave.martin@arm.com, atomlin@atomlin.com, sean@ashe.io,
linux-kernel@vger.kernel.org
Subject: [PATCH 0/3] x86/resctrl: Add "*" shorthand to set minimum io_alloc CBM for all domains
Date: Wed, 26 Nov 2025 12:16:49 -0500 [thread overview]
Message-ID: <20251126171653.1004321-1-atomlin@atomlin.com> (raw)
Hi Babu, Tony, Reinette,
This series was rebased on tip/x86/cache since commit ac7de456a37f
("fs/resctrl: Update bit_usage to reflect io_alloc"). It is instead to be
merged after the inclusion of "[PATCH v12 00/10] x86,fs/resctrl: Support L3
Smart Data Cache Injection Allocation Enforcement (SDCIAE)" series [1].
As previously discussed [2], a special domain ID selector "*" has been
introduced for io_alloc_cbm that allows setting the CBM of each cache
domain to its minimum number of consecutive bits in a single operation. For
example, writing "*=0" to /sys/fs/resctrl/info/L3/io_alloc_cbm programs
each domain's CBM to the hardware-defined minimum, greatly simplifying
automation and management tasks. The user is required to specify the
correct minimum stored in /sys/fs/resctrl/info/L3/min_cbm_bits.
Please let me know your thoughts.
[1]: https://lore.kernel.org/lkml/cover.1762995456.git.babu.moger@amd.com/
[2]: https://lore.kernel.org/lkml/7e117908-41ae-4f42-8863-1361101c33ab@amd.com/
Aaron Tomlin (3):
fs/resctrl: Add helpers to check io_alloc support and enabled state
fs/resctrl: Return -EINVAL for a missing seq_show implementation
x86/resctrl: Add "*" shorthand to set minimum io_alloc CBM for all
domains
Documentation/filesystems/resctrl.rst | 10 ++
arch/x86/kernel/cpu/resctrl/core.c | 2 +-
arch/x86/kernel/cpu/resctrl/ctrlmondata.c | 23 +--
fs/resctrl/ctrlmondata.c | 182 +++++++++++++++++-----
fs/resctrl/internal.h | 13 ++
fs/resctrl/rdtgroup.c | 5 +-
include/linux/resctrl.h | 30 +++-
7 files changed, 211 insertions(+), 54 deletions(-)
--
2.51.0
next reply other threads:[~2025-11-26 17:17 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-26 17:16 Aaron Tomlin [this message]
2025-11-26 17:16 ` [PATCH 1/3] fs/resctrl: Add helpers to check io_alloc support and enabled state Aaron Tomlin
2025-12-05 19:35 ` Moger, Babu
2025-12-15 22:27 ` Aaron Tomlin
2025-11-26 17:16 ` [PATCH 2/3] fs/resctrl: Return -EINVAL for a missing seq_show implementation Aaron Tomlin
2025-11-26 17:16 ` [PATCH 3/3] x86/resctrl: Add "*" shorthand to set minimum io_alloc CBM for all domains Aaron Tomlin
2025-12-05 19:30 ` Moger, Babu
2025-12-15 22:50 ` 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=20251126171653.1004321-1-atomlin@atomlin.com \
--to=atomlin@atomlin.com \
--cc=Dave.Martin@arm.com \
--cc=babu.moger@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=reinette.chatre@intel.com \
--cc=sean@ashe.io \
--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