]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
fs/resctrl: Add "*" shorthand to set io_alloc CBM for all domains
authorAaron Tomlin <atomlin@atomlin.com>
Wed, 25 Mar 2026 00:11:59 +0000 (20:11 -0400)
committerBorislav Petkov (AMD) <bp@alien8.de>
Wed, 1 Apr 2026 22:22:59 +0000 (00:22 +0200)
commitd2bf45d067c728b0fe6e8f99a7386b8291e391e3
tree221f360208029c808f8857a5bfd42adb3976a436
parentd06b8e7c97c3290e61006e30b32beb9e715fab82
fs/resctrl: Add "*" shorthand to set io_alloc CBM for all domains

Configuring the io_alloc_cbm interface requires an explicit domain ID for each
cache domain. On systems with high core counts and numerous cache clusters,
this requirement becomes cumbersome for automation and management tasks that
aim to apply a uniform policy.

Introduce a wildcard domain ID selector "*" for the io_alloc_cbm interface.
This enables users to set the same Capacity Bitmask (CBM) across all cache
domains in a single operation.

Signed-off-by: Aaron Tomlin <atomlin@atomlin.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Reinette Chatre <reinette.chatre@intel.com>
Reviewed-by: Babu Moger <babu.moger@amd.com>
Tested-by: Babu Moger <babu.moger@amd.com>
Link: https://patch.msgid.link/20260325001159.447075-3-atomlin@atomlin.com
Documentation/filesystems/resctrl.rst
fs/resctrl/ctrlmondata.c