Skip to content
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

[all] Improve the implementation of memory attributes for AArch64 #1117

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

relokin
Copy link
Member

@relokin relokin commented Dec 29, 2024

This change moves the implementation of memory attributes from the cat file to ocaml. This allows for better sanity checks.

Initialisations of memory locations (for example, x) take place before
we intialise the corresponding PTE value (for example, PTE(x)). In
some cases, handling the intialision of the PTE values necesitates a
change of memory attributes. When this happens, the intialisation of
the memory location uses the default memory attributes (Normal,ISH,WB)
and that means that the next access to that memory location will
happen with mismatcheched memory attributes.

To avoid creating the conditions for mismatched memory attributes at
initialisation, this patches changes litmus7 to perform cache
maintenance when needed.

Signed-off-by: Nikos Nikoleris <[email protected]>
@relokin relokin force-pushed the aarch64-memattrs branch 2 times, most recently from 12b038f to 23ffab2 Compare December 30, 2024 11:24
This change moves the implementation of memory attributes from the cat
file to ocaml. This allows for better sanity checks.

Signed-off-by: Nikos Nikoleris <[email protected]>
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.

1 participant