edk2
edk2 copied to clipboard
Adding FF-A memory management library
Description
This change adds the FF-A memory management protocol implementation according to https://developer.arm.com/documentation/den0140/latest/
- [ ] Breaking change?
- Breaking change - Does this PR cause a break in build or boot behavior?
- Examples: Does it add a new library class or move a module to a different repo.
- [ ] Impacts security?
- Security - Does this PR have a direct security impact?
- Examples: Crypto algorithm change or buffer overflow fix.
- [ ] Includes tests?
- Tests - Does this PR include any explicit test code?
- Examples: Unit tests or integration tests.
How This Was Tested
This change was tested on QEMU SBSA and proprietary hardware with Hafnium as the SPMC.
Integration Instructions
Add ArmFfaMemMgmtLib|MdePkg/Library/ArmFfaMemMgmtLib/ArmFfaMemMgmtLib.inf to platform DSC.
Hmm... I realise this is a draft, but we should probably get some dedicated maintainers assigned for these libraries/drivers, for when it's not.
Hmm... I realise this is a draft, but we should probably get some dedicated maintainers assigned for these libraries/drivers, for when it's not.
I'd like to help reviewing FFA related changes, at least to keep myself in the loop. But I think folks from ARM would also need to be on the list.
Hmm... I realise this is a draft, but we should probably get some dedicated maintainers assigned for these libraries/drivers, for when it's not.
Hi Leif, I can help with this and maybe even @LeviYeoReum. Regards, Sami Mujawar
Excellent. Could someone submit (or maybe just tag onto this set before it flips out of draft) a stanza for Maintainers.txt?
Excellent. Could someone submit (or maybe just tag onto this set before it flips out of draft) a stanza for Maintainers.txt?
Okay, I will create one in the morning.
@samimujawar This PR is updated per requested. Could you please re-review the change? Thanks!
@lgao4 @mdkinney Could you please help reviewing the change from MdePkg perspective? Thanks in advance!
@lgao4 @mdkinney Could you please help reviewing the change from
MdePkgperspective? Thanks in advance!
I have only one minor comment. I think this change is OK.
@leiflindholm @samimujawar @lgao4 this PR is reviewed. May I have help in merging the change when you have a chance? :) Thanks in advance!
This pull request has been removed from the queue for the following reason: checks failed.
The merge conditions cannot be satisfied due to failing checks.
You may have to fix your CI before adding the pull request to the queue again.
If you update this pull request, to fix the CI, it will automatically be requeued once the queue conditions match again.
If you think this was a flaky issue instead, you can requeue the pull request, without updating it, by posting a @mergifyio requeue comment.
Updated the patch title per suggestion here: https://github.com/tianocore/edk2/pull/11175#issuecomment-3007946759, to fix the patch check break.