Skip to content

Add SYS-MPAM rule-based execution - #593

Merged
chetan-rathore merged 2 commits into
ARM-software:mainfrom
rajatgoyal47:main
Oct 6, 2026
Merged

chetan-rathore merged 2 commits into
ARM-software:mainfrom
rajatgoyal47:main

Conversation

@rajatgoyal47

Copy link
Copy Markdown
Collaborator

Adds SYS-MPAM rule-based execution for UEFI and bare-metal, along with Markdown, and CSV rule coverage checklists.

  • Add rule, module, skip, and level-based CLI selection.
  • Enable rule-based bare-metal execution using BAREMETAL_MPAM_BUILD.
  • Reuse common ACS UEFI helpers for parsing and platform setup.
  • Include supporting MPAM test and VAL fixes required by rule-based execution.

 - Add SYS-MPAM rule coverage source JSON.
 - Add generator support for producing checklist Markdown and CSV outputs.
 - Add generated SYS-MPAM checklist Markdown and downloadable CSV coverage matrix.

 This commit only adds the SYS-MPAM testcase checklist artifacts.
 RBX framework wiring is kept in the follow-up commit

Signed-off-by: Rajat Goyal <rajat.goyal@arm.com>
Change-Id: I301bc62a0c13f4fa190e55966659d79b9bc64968
 - Route the SYS-MPAM UEFI and bare-metal apps through the rule-based execution flow using ARCH_SYS_MPAM.
 - Expand ARCH_SYS_MPAM through mpam_rule_list[] and apply MPAM version filtering in the rule orchestrator.
 - Enable the rule framework for bare-metal MPAM with BAREMETAL_MPAM_BUILD and remove the legacy MPAM executor from that build.
 - Use MPAM_VERSION_B_c consistently in defaults, help text, and rule metadata.
 - Use exact SYS-MPAM specification IDs without the rules-writing R reference prefix.
 - Map covered SYS-MPAM rules from the checklist to concrete ACS test entries.
 - Add SYS-MPAM UEFI and bare-metal build-gated test entry function mappings.
 - Update referenced MPAM test entry signatures for rule-runner execution.
 - Reuse common UEFI ACS helpers for MPAM CLI parsing, selection summary, and table setup.
 - Add MPAM_VERSION_SENTINEL validation and advertise -l MPAM_VERSION_e values in help output.
 - Add SYS-MPAM UEFI build gating and EDK2 patch build option support.

This commit adds the SYS-MPAM RBX framework wiring on top of the checklist data.

Signed-off-by: Rajat Goyal <rajat.goyal@arm.com>

Change-Id: I6b269a1b70a48e9a5dd2ddf6009cf9bbda877eeb
@chetan-rathore
chetan-rathore merged commit 7b849f0 into ARM-software:main Oct 6, 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