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

Ben Horgan posted 4 patches 1 month, 2 weeks ago
There is a newer version of this series
arch/x86/kernel/cpu/resctrl/core.c | 12 ++++++++++--
drivers/resctrl/mpam_resctrl.c     |  2 +-
fs/resctrl/monitor.c               |  4 ++--
fs/resctrl/rdtgroup.c              |  8 ++++++--
include/linux/resctrl.h            |  2 +-
5 files changed, 20 insertions(+), 8 deletions(-)
[PATCH v1 0/4] x86,fs/resctrl: Pave the way for MPAM counter assignment
Posted by Ben Horgan 1 month, 2 weeks ago
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-rc1. The last patch [1] is only there to resolve the conflict
in the case that the mpam resctrl glue series [2] is merged first.

* arm_mpam: resctrl: Use new signature for resctrl_arch_is_evt_configurable()
[2] https://lore.kernel.org/linux-arm-kernel/20260224175720.2663924-1-ben.horgan@arm.com/


Ben Horgan (4):
  x86,fs/resctrl: Make resctrl_arch_is_evt_configurable() aware of
    mbm_assign_mode
  fs/resctrl: Only show 'event_filter' files if events are configurable
  fs/resctrl: Disallow the software controller when mbm counters are
    assignable
  arm_mpam: resctrl: Use new signature for
    resctrl_arch_is_evt_configurable()

 arch/x86/kernel/cpu/resctrl/core.c | 12 ++++++++++--
 drivers/resctrl/mpam_resctrl.c     |  2 +-
 fs/resctrl/monitor.c               |  4 ++--
 fs/resctrl/rdtgroup.c              |  8 ++++++--
 include/linux/resctrl.h            |  2 +-
 5 files changed, 20 insertions(+), 8 deletions(-)

-- 
2.43.0