lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251107012401.224515-1-atomlin@atomlin.com>
Date: Thu,  6 Nov 2025 20:23:59 -0500
From: Aaron Tomlin <atomlin@...mlin.com>
To: tony.luck@...el.com,
	reinette.chatre@...el.com,
	Dave.Martin@....com,
	james.morse@....com,
	babu.moger@....com,
	tglx@...utronix.de,
	mingo@...hat.com,
	bp@...en8.de,
	dave.hansen@...ux.intel.com
Cc: dave.martin@....com,
	linux-kernel@...r.kernel.org
Subject: [PATCH 0/2] x86/resctrl: Add io_alloc_min_cbm_all interface for CBM reset

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


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ