Skip to content

Conversation

@droe
Copy link
Contributor

@droe droe commented Nov 11, 2025

The sample code for setting up PAC is missing the read register call for HCR_EL2. This leads to clobbering HCR_EL2 with whatever the bits in SCTLR_EL1 were.

Fix by adding the missing register read call.

The sample code for setting up PAC is missing the read register call for
`HCR_EL2`.  This leads to clobbering HCR_EL2 with whatever the bits in
`SCTLR_EL1` were.
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