public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] x86/resctrl: Add io_alloc_min_cbm_all interface for CBM reset
@ 2025-11-07  1:23 Aaron Tomlin
  2025-11-07  1:24 ` [PATCH 1/2] " Aaron Tomlin
  2025-11-07  1:24 ` [PATCH 2/2] fs/resctrl: resctrl: Return -EINVAL for a missing seq_show implementation Aaron Tomlin
  0 siblings, 2 replies; 23+ messages in thread
From: Aaron Tomlin @ 2025-11-07  1:23 UTC (permalink / raw)
  To: tony.luck, reinette.chatre, Dave.Martin, james.morse, babu.moger,
	tglx, mingo, bp, dave.hansen
  Cc: dave.martin, linux-kernel

Hi Babu,

This patch is based on and intended for inclusion with the "[PATCH v11
00/10] x86,fs/resctrl: Support L3 Smart Data Cache Injection Allocation
Enforcement (SDCIAE)" series [1].

This proposal introduces a new resctrl interface file,
"io_alloc_min_cbm_all", to provide users with a clean, unified mechanism
for resetting I/O allocation CBMs. Previously, resetting all relevant CBMs
to their minimum (cleared) configuration required userspace to perform
multiple sequential writes to "io_alloc_cbm". By writing a zero (0) value
to "io_alloc_min_cbm_all", the user can now force all corresponding CBMs
back to their minimum size in a single operation, greatly simplifying
automation and management tasks.

Please let me know your thoughts.

[1]: https://lore.kernel.org/lkml/cover.1761844489.git.babu.moger@amd.com/#b


Aaron Tomlin (2):
  x86/resctrl: Add io_alloc_min_cbm_all interface for CBM reset
  fs/resctrl: resctrl: Return -EINVAL for a missing seq_show
    implementation

 Documentation/filesystems/resctrl.rst     |  13 +++
 arch/x86/kernel/cpu/resctrl/core.c        |   2 +-
 arch/x86/kernel/cpu/resctrl/ctrlmondata.c |  23 +++--
 fs/resctrl/ctrlmondata.c                  | 117 ++++++++++++++++++----
 fs/resctrl/internal.h                     |   3 +
 fs/resctrl/rdtgroup.c                     |  13 ++-
 include/linux/resctrl.h                   |  30 +++++-
 7 files changed, 167 insertions(+), 34 deletions(-)

-- 
2.51.0


^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2025-11-11 23:21 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox