[PATCH 0/3] v7.0-rc2+ Fixes for mpam driver

James Morse james.morse at arm.com
Fri Mar 6 10:27:15 PST 2026


Hi Will, Catalin,

How do you want to handle fixes for the mpam driver? Currently its hidden
behind CONFIG_EXPERT as there is no user-interface to it yet, but these are
the issues that can be hit with mainline today.

The first fixes a dereference of an uninitialised variable when restoring state
following cpuhp. The other two are warnings in the kunit code. (which I wouldn't
send now without the first one).


If its helpful, there is a signed tag with some verbage here:
git://git.kernel.org/pub/scm/linux/kernel/git/morse/linux.git mpam/fixes/v7.0-rc2
---
mpam driver fixes for v7.0
 - Fix dereference of an uninitialised variable when restoring state.

 - Fix a pre-empt warning in kunit tests.

 - Fix a sparse warning in kunit tests.
---

Let me know if a proper pull request is the right way to go.


Thanks,

James


Ben Horgan (2):
  arm_mpam: Fix null pointer dereference when restoring bandwidth
    counters
  arm_mpam: Disable preemption when making accesses to fake MSC in kunit
    test

Krzysztof Kozlowski (1):
  arm_mpam: Force __iomem casts

 drivers/resctrl/mpam_devices.c      |  2 ++
 drivers/resctrl/test_mpam_devices.c | 22 +++++++++++++++-------
 2 files changed, 17 insertions(+), 7 deletions(-)

-- 
2.51.0




More information about the linux-arm-kernel mailing list