Skip to content

arm_mpam: minor fixes at v7.2

Ben Horgan linux-arm-kernel lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest12 patches 26 repliesIn review
  2. v111 patches 26 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12arm_mpam: Move MPAMF_ECR write helpers to allow reusedrivers/resctrl/mpam_devices.c+19 -192 replies
2/12arm_mpam: Restore the error interrupt enable from mpam_cpu_online()drivers/resctrl/mpam_devices.c+7 -12 replies
3/12arm_mpam: Set mpam_feat_msmon_mbwu_31counter when there are bandwidth countersdrivers/resctrl/mpam_devices.c+2 -22 replies
4/12arm_mpam: Add missing mon_sel locking in MBWU save and restoredrivers/resctrl/mpam_devices.c+18 -92 replies
5/12arm_mpam: Ensure MBWU counters are reset on restoredrivers/resctrl/mpam_devices.c+9 -83 replies
6/12arm_mpam: Use __ris_msmon_read() for saving MBWU statedrivers/resctrl/mpam_devices.c+42 -213 replies
7/12arm_mpam: Initialize all of struct mon_read in mpam_restore_mbwu_state()drivers/resctrl/mpam_devices.c+9 -61 reply
8/12arm_mpam: resctrl: Correct check that existing class is L3drivers/resctrl/mpam_resctrl.c+1 -12 replies
9/12arm_mpam: resctrl: Make read_mon_cdp_safe() self consistentdrivers/resctrl/mpam_resctrl.c+1 -12 replies
10/12arm_mpam: Don't loop forever if there is the maximum possible amount of PARTIDsdrivers/resctrl/mpam_devices.c+3 -42 replies
11/12arm_mpam: Switch to kvzmalloc_objs() for allocation of component cfgdrivers/resctrl/mpam_devices.c+2 -22 replies
12/12arm_mpam: resctrl: Don't stop early when tearing down a classdrivers/resctrl/mpam_resctrl.c+1 -82 replies

Reviews trailers per patch

All 12 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchGavin ShanJames MorseShaopeng TanJinjie Ruan
SeriesR-b T-b
1/12T-b R-b R-b
2/12T-b R-b R-b
3/12T-b R-b R-b
4/12T-b R-b R-b
5/12T-b R-b R-b
6/12T-b R-b R-b
7/12T-b R-b R-b
8/12T-b R-b R-b
9/12T-b R-b R-b
10/12T-b R-b R-b
11/12T-b R-b R-b
12/12R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v2 thread

Cover letter [PATCH v2 00/12] arm_mpam: minor fixes at v7.2

Despite the subject this is still relevant at v7.3. This series addresses a few minor issues in the driver. Since v1 I've added an extra patch at the end to fix a leak and reworked the mbwu save/restore fixes to avoid races by dropping the mon_sel lock in the middle.

Changelogs in patches

Based on v7.3-rc2

Ben Horgan (12):
arm_mpam: Move MPAMF_ECR write helpers to allow reuse
arm_mpam: Restore the error interrupt enable from mpam_cpu_online()
arm_mpam: Set mpam_feat_msmon_mbwu_31counter when there are bandwidth
counters
arm_mpam: Add missing mon_sel locking in MBWU save and restore
arm_mpam: Ensure MBWU counters are reset on restore
arm_mpam: Use __ris_msmon_read() for saving MBWU state
arm_mpam: Initialize all of struct mon_read in
mpam_restore_mbwu_state()
arm_mpam: resctrl: Correct check that existing class is L3
arm_mpam: resctrl: Make read_mon_cdp_safe() self consistent
arm_mpam: Don't loop forever if there is the maximum possible amount
of PARTIDs
arm_mpam: Switch to kvzmalloc_objs() for allocation of component cfg
arm_mpam: resctrl: Don't stop early when tearing down a class

 drivers/resctrl/mpam_devices.c | 161 ++++++++++++++++++++-------------
 drivers/resctrl/mpam_resctrl.c |  13 +--
 2 files changed, 103 insertions(+), 71 deletions(-)
Signature · 1 line
2.43.0