[PATCH v3 0/4] x86,fs/resctrl: Pave the way for MPAM counter assignment

From: Ben Horgan

Date: Thu Mar 19 2026 - 12:25:22 EST


The main change in this version is to resctrl_mon property rather than
resctrl arch hooks. This has the happy side effect that the build conflict
with the MPAM driver resctrl glue series goes away.

Changelogs in commit message.

Description from the previous versions cover letter:

A little bit of preparatory work to get ready for MPAM counter
assignment. Resctrl gained support last year for counter assignment for AMD
machines supporting ABMC. Tighten a few things up, that weren't needed for
AMD, so that the MPAM driver can emulate ABMC and hence support counter
assignment.

Based on v7.0-rc4.

v1:
https://lore.kernel.org/lkml/20260225201905.3568624-1-ben.horgan@xxxxxxx/
v2:
https://lore.kernel.org/lkml/20260313174524.3482767-1-ben.horgan@xxxxxxx/

Ben Horgan (4):
fs/resctrl: Tidy up the error path in resctrl_mkdir_event_configs()
x86,fs/resctrl: Make 'event_filter' files read only if they're not
configurable
fs/resctrl: Disallow the software controller when MBM counters are
assignable
x86,fs/resctrl: Add monitor property 'mbm_cntr_assign_fixed'

arch/x86/kernel/cpu/resctrl/monitor.c | 1 +
fs/resctrl/internal.h | 2 ++
fs/resctrl/monitor.c | 15 ++++++++++++++-
fs/resctrl/rdtgroup.c | 25 +++++++++++++++++--------
include/linux/resctrl.h | 18 +++++++++++-------
5 files changed, 45 insertions(+), 16 deletions(-)

--
2.43.0