-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extending FF-A definitions #10686
base: master
Are you sure you want to change the base?
Extending FF-A definitions #10686
Conversation
ea08058
to
0d1ef32
Compare
@@ -196,6 +196,8 @@ | |||
#define ARM_FFA_SET_MEM_ATTR_CODE_PERM_X 0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Commit message typo: APL1 should be ALP1.
I was going to say something about merging updates based on an alpha-maturity specification, but ... Arm has published it on developer.arm.com and the revision history suggests this is normal.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, will update.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The commit message is updated to include this change and additional reference to the FF-A memory protocol.
Maybe I'm being dense, but searching through the referenced document, I can't find these bit definitions. Can you point to where in the spec these values/offsets are defined? |
not a problem :)
|
Ah, that explains it. I was going to suggest changing The feature ones are fine. But could you add a mention of the memory protocol spec to the commit message? |
This change added missing FF-A definitions for certain FF-A function IDs. The `ARM_FFA_NOTIFICATION_*` and `ARM_FFA_FEATURE_*` definitions are based on FF-A spec v1.3 ALP1. The `ARM_FFA_MEM_PERM_RESERVED_MASK` definition is based on FF-A memory protocol spec v1.3 ALP1. Signed-off-by: Kun Qin <[email protected]>
This is updated. I also added a few extra comments to refer to the section where these definitions are found. Hopefully this will be easier to correlate to where the definition is rooted from the spec. |
Description
This change adds a minor extension to existing FF-A definitions. This will allow the UEFI to accept FF-A notification related operations.
How This Was Tested
This was tested on QEMU SBSA platform with a test application for FF-A notificaiton.
Integration Instructions
N/A