[RFC PATCH v2 0/5] arm_mpam: resctrl: Counter Assignment (ABMC)
From: Ben Horgan
Date: Thu Mar 19 2026 - 13:05:53 EST
The main changes in this version of the series are to deal with the
fallout from dropping memory bandwidth monitoring *without* counter assignment
from MPAM. The extra complexity of supporting memory bandwidth monitoring in
two different modes didn't seem necessary.
Changelogs in patches
Description from the initial cover letter:
The MPAM counter assignment (ABMC emulation) changes that were dropped from
the resctrl glue series due to some missing precursors in resctrl. Counter
assignement enables bandwidth monitoring in systems that have fewer
monitors than resctrl monitor groups. Posting this as an rfc as this now
depends on two series, the mpam resctrl glue [1] and the resctrl precursors [2].
[1] https://lore.kernel.org/linux-arm-kernel/20260313144617.3420416-1-ben.horgan@xxxxxxx/
[2] https://lore.kernel.org/lkml/20260319162225.378485-1-ben.horgan@xxxxxxx/
rfc v1: https://lore.kernel.org/lkml/20260225205436.3571756-1-ben.horgan@xxxxxxx/
The series with the precursors can be retrieved from:
https://gitlab.arm.com/linux-arm/linux-bh.git mpam_abmc_v2
Ben Horgan (2):
arm_mpam: resctrl: Pre-allocate assignable monitors
arm64: mpam: Add memory bandwidth usage (MBWU) documentation
James Morse (3):
arm_mpam: resctrl: Pick classes for use as mbm counters
arm_mpam: resctrl: Add resctrl_arch_config_cntr() for ABMC use
arm_mpam: resctrl: Add resctrl_arch_cntr_read() &
resctrl_arch_reset_cntr()
Documentation/arch/arm64/mpam.rst | 17 ++
drivers/resctrl/mpam_internal.h | 6 +-
drivers/resctrl/mpam_resctrl.c | 303 +++++++++++++++++++++++++++---
3 files changed, 303 insertions(+), 23 deletions(-)
--
2.43.0