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

ArmVirtPkg/ArmPlatformLibQemu: Enable early ID map on EL2+VHE #6491

Merged
merged 2 commits into from
Dec 5, 2024

Conversation

ardbiesheuvel
Copy link
Member

When booting at EL2, enable VHE if available so that the early ID map can be enabled as well. This gets rid of any memory accesses (reads or writes) before the MMU and caches are enabled.

When booting at EL2, enable VHE if available so that the early ID map
can be enabled as well. This gets rid of any memory accesses (reads or
writes) before the MMU and caches are enabled.

Signed-off-by: Ard Biesheuvel <[email protected]>
@ardbiesheuvel ardbiesheuvel force-pushed the armvirt-el2-vhe-early-idmap branch from 9ec165c to ec35663 Compare December 2, 2024 13:38
@ardbiesheuvel
Copy link
Member Author

@samimujawar @leiflindholm if there are no objections, I intend to merge this PR tomorrow

@leiflindholm
Copy link
Member

@samimujawar @leiflindholm if there are no objections, I intend to merge this PR tomorrow

I'm good with it, just wanted to give others a chance to spot something I didn't.

@ardbiesheuvel ardbiesheuvel added the push Auto push patch series in PR if all checks pass label Dec 5, 2024
@mergify mergify bot merged commit 47e28a6 into tianocore:master Dec 5, 2024
126 checks passed
@ardbiesheuvel ardbiesheuvel deleted the armvirt-el2-vhe-early-idmap branch December 5, 2024 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
push Auto push patch series in PR if all checks pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants