Skip to content

Conversation

kuqin12
Copy link
Contributor

@kuqin12 kuqin12 commented Oct 11, 2025

Description

The original implementation of ArmFfaLibRun does not return register values when invoked. However, FFA_RUN is normally some operations that requires retry, i.e. after FFA_YIELD or FFA_INTERRUPTED. Thus the context returned by FFA_RUN will be eaten if this is not returned.

The change added an extra input argument to potentially return the output from monitor calls.

  • Impacts functionality?
  • Impacts security?
  • Breaking change?
  • Includes tests?
  • Includes documentation?

How This Was Tested

This is tested on QEMU SBSA and booted to UEFI shell.

Integration Instructions

One needs to pass in a pointer to context registers if the return values are needed.

@kuqin12 kuqin12 self-assigned this Oct 11, 2025
@kuqin12 kuqin12 added the type:bug Something isn't working label Oct 11, 2025
@codecov-commenter
Copy link

codecov-commenter commented Oct 11, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (release/202502@05d13fc). Learn more about missing BASE report.

Additional details and impacted files
@@                Coverage Diff                @@
##             release/202502    #1526   +/-   ##
=================================================
  Coverage                  ?    2.22%           
=================================================
  Files                     ?     1461           
  Lines                     ?   380819           
  Branches                  ?     4583           
=================================================
  Hits                      ?     8477           
  Misses                    ?   372269           
  Partials                  ?       73           
Flag Coverage Δ
MdeModulePkg 1.56% <ø> (?)
MdePkg 5.46% <ø> (?)
NetworkPkg 0.55% <ø> (?)
PolicyServicePkg 30.42% <ø> (?)
UefiCpuPkg 4.85% <ø> (?)
UnitTestFrameworkPkg 11.40% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Contributor

@Raymond-MS Raymond-MS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants