Skip to content

v7.0-rc2+ Fixes for mpam driver

James Morse linux-arm-kernel 1 version Applied

Status from this message: Applied to arm64 (for-next/fixes), thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3arm_mpam: Fix null pointer dereference when restoring bandwidth countersdrivers/resctrl/mpam_devices.c+2 -00 replies
2/3arm_mpam: Disable preemption when making accesses to fake MSC in kunit testdrivers/resctrl/test_mpam_devices.c+13 -50 replies
3/3arm_mpam: Force __iomem castsdrivers/resctrl/test_mpam_devices.c+2 -20 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchJames MorseBen Horgan
1/3R-b
2/3R-b
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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(-)
Signature · 1 line
2.51.0