Public bug reported:

The PR fixes a MPAM issue on Grace. Nvbug: 6250699

The issue is because of recent upstream code changes and pset
inheritance.

Note: The issue doesn't exist on 7.0-bos and 7.0-lts kernels.

This patch fixes a few issues:

 - To enable MBW total bytes, continue MBWU counter selection after CSU
setup. This follows upstream 7.1.

 - Use mbm_cntr_assignable for assignment enablement so occupancy and
MBWU sharing a class do not break mbm_L3_assignments. This follows
commit 4766d7e https://gitlab.arm.com/linux-arm/linux-bh.git
mpam_abmc_v4

 - Always bind picked MBWU to mbm_total_bytes. This follows commit
b2bbf3b https://gitlab.arm.com/linux-arm/linux-bh.git mpam_abmc_v4

 - Rebind mbm_total_bytes at monitor init to the resource that owns the
MBWU class via resctrl_mon_event_set_resource(), so memory-level MSC
platforms expose mbm_total_bytes under mon_MB_* and mbm_MB_assignments.
This fix is necessary when only MBW total bytes (i.e. no MBW local
bytes) is supported.

** Affects: linux-nvidia-6.17 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2157922

Title:
  NVIDIA: SAUCE: arm_mpam: Fix mbm_total_bytes and MBM counter
  assignment

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-nvidia-6.17/+bug/2157922/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to