Skip to content

fix(mpam): handle MSC groups in MBWU test - #584

Merged
prashymh merged 1 commit into
ARM-software:mainfrom
SrikarJosyula:main
Oct 1, 2026
Merged

prashymh merged 1 commit into
ARM-software:mainfrom
SrikarJosyula:main

Conversation

@SrikarJosyula

Copy link
Copy Markdown
Contributor
  • Group resource nodes by ACPI location so all MSCs managing the same memory resource are tested together.
  • Aggregate their monitor counts to validate the resource's total bandwidth usage.
  • Use direct group-member lookups to avoid repeated table scans.
  • Skip the test when no MPAM resource groups are present and restore monitor and MPAM2_EL2 state after each check.

Change-Id: I6d9124f6ba9dbcbbd92202f859e4079e4583bce8

- Group resource nodes by ACPI location so all MSCs managing the same memory resource are tested together.
- Aggregate their monitor counts to validate the resource's total bandwidth usage.
- Use direct group-member lookups to avoid repeated table scans.
- Skip the test when no MPAM resource groups are present and restore monitor and MPAM2_EL2 state after each check.

Signed-off-by: Srikar Josyula <srikar.josyula@arm.com>
Change-Id: I6d9124f6ba9dbcbbd92202f859e4079e4583bce8
@prashymh
prashymh merged commit 0d97b27 into ARM-software:main Oct 1, 2026
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants