[PATCH v4 0/5] arm_mpam: resctrl: Counter Assignment (ABMC)

Ben Horgan posted 5 patches 4 days ago
Documentation/arch/arm64/mpam.rst |  17 ++
drivers/resctrl/mpam_internal.h   |   6 +-
drivers/resctrl/mpam_resctrl.c    | 308 +++++++++++++++++++++++++++---
3 files changed, 308 insertions(+), 23 deletions(-)
[PATCH v4 0/5] arm_mpam: resctrl: Counter Assignment (ABMC)
Posted by Ben Horgan 4 days ago
Version 4 of this series addresses a few review comments and some concerns
of the sashiko bot.

From the cover letter of v3:

Removing the rfc tag as the resctrl precursors [1] have been queued in tip
x86/cache. Due to that dependency, it would be good for this to also go through
x86/cache.

This series adds support for memory bandwidth monitoring.

Please review and test.

Changelogs in patches.

[1] https://lore.kernel.org/all/20260506082855.3694761-1-ben.horgan@arm.com/

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
assignment enables bandwidth monitoring in systems that have fewer
monitors than resctrl monitor groups.

rfc v1: https://lore.kernel.org/lkml/20260225205436.3571756-1-ben.horgan@arm.com/
rfc v2: https://lore.kernel.org/lkml/20260319165540.381410-1-ben.horgan@arm.com/
v3: https://lore.kernel.org/linux-arm-kernel/20260511154147.557481-1-ben.horgan@arm.com/

The code can be found at:
https://gitlab.arm.com/linux-arm/linux-bh.git mpam_abmc_v4

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    | 308 +++++++++++++++++++++++++++---
 3 files changed, 308 insertions(+), 23 deletions(-)

-- 
2.43.0