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

fix(armv8-r/mem): fix shareability memory flag to allow guests decide their cacheability attributes #130

Merged
merged 1 commit into from May 23, 2024

Conversation

AfonsoSantos96
Copy link
Member

The shareability attributes impact the final cacheability attributes of a memory region. On a system with a 2-stage controlled MPU, this level configuration can limit the guest's configuration of its memory region.
This way, the EL2 MPU should be permissive enough to allow the guest to decide the cacheability attributes in its memory regions.
Previously, the EL2 was configuring the guest's shareability attributes as inner shareable, which limited the shareability attributes for the EL1 to only inner shareable or outer shareable.
Changing the EL2 flag to non-shareable allows the guest to decide freely its shareability domain.

@josecm josecm merged commit c8e42d9 into main May 23, 2024
15 checks passed
@josecm josecm deleted the fix/mem_flags branch May 23, 2024 15:25
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.

None yet

3 participants