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

Ben Horgan posted 5 patches 1 month ago
There is a newer version of this series
Documentation/arch/arm64/mpam.rst |  17 ++
drivers/resctrl/mpam_internal.h   |   6 +-
drivers/resctrl/mpam_resctrl.c    | 306 +++++++++++++++++++++++++++---
3 files changed, 306 insertions(+), 23 deletions(-)
[PATCH v3 0/5] arm_mpam: resctrl: Counter Assignment (ABMC)
Posted by Ben Horgan 1 month ago
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/

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

-- 
2.43.0
Re: [PATCH v3 0/5] arm_mpam: resctrl: Counter Assignment (ABMC)
Posted by Ben Horgan 1 month ago
I forgot to say, the code can be found at:

https://gitlab.arm.com/linux-arm/linux-bh.git mpam_abmc_v3

On 5/11/26 16:41, Ben Horgan wrote:
> 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/
> 
> 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    | 306 +++++++++++++++++++++++++++---
>  3 files changed, 306 insertions(+), 23 deletions(-)
>