Skip to content

Commit 053ad57

Browse files
fyu1nvax-r
authored andcommitted
NVIDIA: SAUCE: Fix mon_local_bytes on Grace
Extend MPAM_MAX_EVENT to QOS_L3_MBM_LOCAL_EVENT_ID so the local bytes counter is included in mpam_resctrl_counters[]. Signed-off-by: Fenghua Yu <fenghuay@nvidia.com>
1 parent 08b0e6b commit 053ad57

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/resctrl/mpam_resctrl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ static struct mpam_resctrl_res mpam_resctrl_controls[RDT_NUM_RESOURCES];
4646
* to those supported by MPAM.
4747
* Class pointer may be NULL.
4848
*/
49-
#define MPAM_MAX_EVENT QOS_L3_MBM_TOTAL_EVENT_ID
49+
#define MPAM_MAX_EVENT QOS_L3_MBM_LOCAL_EVENT_ID
5050
static struct mpam_resctrl_mon mpam_resctrl_counters[MPAM_MAX_EVENT + 1];
5151

5252
#define for_each_mpam_resctrl_mon(mon, eventid) \

0 commit comments

Comments
 (0)