-
Notifications
You must be signed in to change notification settings - Fork 193
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
[SME] Add agnostic-ZA interface and routines to save/restore SME state #264
Open
sdesmalen-arm
wants to merge
8
commits into
ARM-software:main
Choose a base branch
from
sdesmalen-arm:sme-za-compatible
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Commits on Jun 14, 2024
-
[SME] Add ZA-compatible interface and routines to save/restore SME st…
…ate. This implements requests to add a new "ZA-compatible" interface which can be called with ZA state being either 'off', 'active' or 'dormant', and which can preserve any and all state enabled under PSTATE.ZA.
Configuration menu - View commit details
-
Copy full SHA for aeccbc9 - Browse repository at this point
Copy the full SHA aeccbc9View commit details
Commits on Aug 22, 2024
-
* Renamed `compatible ZA` -> `agnostic ZA` * Changed __arm_sme_save/restore such that the save routine should record whether ZA or ZT0 is saved and such that the restore routine should check whether ZA or ZT0 was saved. This removes the (previously) implicit assumption in `__arm_sme-save` that PSTATE.ZA must be 1 if PTR is not nullptr. * ZA is now always saved/restored using the lazy-save mechanism. * Changed __arm_sme_save/restore to have a custom ZA interface instead of 'agnostic-ZA' which was incorrect.
Configuration menu - View commit details
-
Copy full SHA for 6f1bba8 - Browse repository at this point
Copy the full SHA 6f1bba8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 34eeecc - Browse repository at this point
Copy the full SHA 34eeeccView commit details
Commits on Aug 27, 2024
-
Removed OPTIONS argument from the subroutines.
As @rsandifo-arm explained, the same routines cannot be used for general use of saving/restoring of state enabled by PSTATE.ZA because of the different expectations on the ZA interface when partially saving/restoring state enabled by PSTATE.ZA. Removing the option, drastically simplifies the logic. Note that I have removed the two booleans (internal to the save/restore routines) that distinguish between having saved 'ZA' and 'ZT0', and replaced that with a single 'VALID' bit, because I think we can assume that the save/restore routines are called by PEs that have the same SME state.
Configuration menu - View commit details
-
Copy full SHA for 35aae18 - Browse repository at this point
Copy the full SHA 35aae18View commit details
Commits on Aug 28, 2024
-
This changes the 'dormant on entry' case to be 'no change'.
Configuration menu - View commit details
-
Copy full SHA for 447378a - Browse repository at this point
Copy the full SHA 447378aView commit details
Commits on Sep 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 82c84bd - Browse repository at this point
Copy the full SHA 82c84bdView commit details
Commits on Nov 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 20cf743 - Browse repository at this point
Copy the full SHA 20cf743View commit details
Commits on Dec 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7568774 - Browse repository at this point
Copy the full SHA 7568774View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.