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

[Backport v3.5-branch] arch: arm64: avoid invalidating of RO mem after mem map #65009

Merged
merged 1 commit into from
Nov 13, 2023

Conversation

zephyrbot
Copy link
Collaborator

@zephyrbot zephyrbot commented Nov 9, 2023

Backport c4ffadb from #64779.

Fixes: #64758

The Cortex ARM documentation states that the DC IVAC instruction
requires write access permission to the virtual address (VA);
otherwise, it may generate a permission fault.

Therefore, it is needed to avoid invalidating read-only memory
after the memory map operation.

This issue has been produced by commit c9b534c.
This commit resolves the issue #64758.

Signed-off-by: Mykola Kvach <[email protected]>
(cherry picked from commit c4ffadb)
@zephyrbot zephyrbot added the Backport Backport PR and backport failure issues label Nov 9, 2023
@zephyrbot zephyrbot added the area: ARM64 ARM (64-bit) Architecture label Nov 9, 2023
@jhedberg jhedberg merged commit 214b74e into v3.5-branch Nov 13, 2023
@nashif nashif deleted the backport-64779-to-v3.5-branch branch February 13, 2024 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: ARM64 ARM (64-bit) Architecture Backport Backport PR and backport failure issues
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

5 participants