Skip to content

Conversation

@kuqin12
Copy link
Contributor

@kuqin12 kuqin12 commented Oct 14, 2025

Description

BASECORE made a change for FFA_RUN change, but EDK2 already has a corresponding change.

This change reverts the original fix and conform to EDK2 version.

For details on how to complete these options and their meaning refer to CONTRIBUTING.md.

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

How This Was Tested

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

Integration Instructions

N/A

@kuqin12 kuqin12 enabled auto-merge (rebase) October 14, 2025 17:23
When ArmFfaLibDirectMsgReq(2) is preempted, caller of these functions
should resume it works via ArmFfaLibRun() and the secure partition
will be return with FFA_DIRECT_MSG_RESP(2) with return arguments.

However, since ArmFfaLibRun() gets its return in its stack variable,
So caller of ArmFfaLibRun() doesn't get the return arguments from
secure partition.

To resolve this, add output parameter to ArmFfaLibRun() to
receive return arguments.

Continuous-integration-options: PatchCheck.ignore-multi-package
Fixes: 5d1b38d ("ArmPkg: Add ArmFfaLib used in Dxe driver")
Reported-by: Mariam Elshakfy <[email protected]>
Signed-off-by: Yeoreum Yun <[email protected]>
(cherry picked from commit d8e875e62505e15a48f82ccb49db42be9fda519f)
@codecov-commenter
Copy link

codecov-commenter commented Oct 14, 2025

Codecov Report

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

Additional details and impacted files
@@                Coverage Diff                @@
##             release/202502    #1529   +/-   ##
=================================================
  Coverage                  ?    2.22%           
=================================================
  Files                     ?     1461           
  Lines                     ?   380840           
  Branches                  ?     4583           
=================================================
  Hits                      ?     8477           
  Misses                    ?   372290           
  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.

@kuqin12 kuqin12 merged commit ad2505e into microsoft:release/202502 Oct 14, 2025
30 checks passed
@kuqin12 kuqin12 deleted the fix_ffa branch October 14, 2025 19:56
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.

5 participants