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

armstub8: Initialize CPTR_EL3 with zeros #123

Merged
merged 1 commit into from
Jul 5, 2021

Conversation

rhythm16
Copy link
Contributor

@rhythm16 rhythm16 commented Jul 3, 2021

In both Cortex A53 and A72, every bit of CPTR_EL3 is RES0 except bit 10 and bit 31.
We need bit 10 to be 0, also bit 31 is 0 previously. So zero the entire register in initialization.
Issue #95 pointed this out as well.

@popcornmix
Copy link
Contributor

This looks correct to me. @pelwell happy?

@pelwell pelwell merged commit 2e59fc6 into raspberrypi:master Jul 5, 2021
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.

3 participants