linux/drivers/resctrl
James Morse a5ff6ef2d7 arm_mpam: resctrl: Add resctrl_arch_cntr_read() & resctrl_arch_reset_cntr()
When used in 'mbm_event' mode, ABMC emulation, resctrl uses arch hooks to
read and reset the memory bandwidth utilization (MBWU) counters.

Add these.

Signed-off-by: James Morse <james.morse@arm.com>
Signed-off-by: Ben Horgan <ben.horgan@arm.com>
Tested-by: Shaopeng Tan <tan.shaopeng@jp.fujitsu.com>
Tested-by: Fenghua Yu <fenghuay@nvidia.com>
Tested-by: Gavin Shan <gshan@redhat.com>
Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Reviewed-by: Shaopeng Tan <tan.shaopeng@jp.fujitsu.com>
Reviewed-by: Fenghua Yu <fenghuay@nvidia.com>
Reviewed-by: Gavin Shan <gshan@redhat.com>
Signed-off-by: Will Deacon <will@kernel.org>
History 2026-08-02 09:33:43 +00:00
..
Kconfig arm64: mpam: Select ARCH_HAS_CPU_RESCTRL 2026-03-27 15:32:11 +00:00
Makefile arm64: mpam: Select ARCH_HAS_CPU_RESCTRL 2026-03-27 15:32:11 +00:00
mpam_devices.c arm64 updates for 7.2 2026-06-16 05:18:04 +05:30
mpam_internal.h arm_mpam: resctrl: Pre-allocate assignable monitors 2026-08-02 09:33:43 +00:00
mpam_resctrl.c arm_mpam: resctrl: Add resctrl_arch_cntr_read() & resctrl_arch_reset_cntr() 2026-08-02 09:33:43 +00:00
test_mpam_devices.c arm_mpam: Force __iomem casts 2026-03-13 14:17:30 +00:00
test_mpam_resctrl.c arm_mpam: resctrl: Add kunit test for control format conversions 2026-03-27 15:31:04 +00:00