Page MenuHomeFreeBSD

arm64: Only set HCR_EL2.E2H when VHE is supported
ClosedPublic

Authored by andrew on Jul 1 2025, 12:35 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 28, 10:09 PM
Unknown Object (File)
Wed, Nov 12, 5:26 AM
Unknown Object (File)
Nov 6 2025, 1:08 AM
Unknown Object (File)
Oct 27 2025, 11:43 AM
Unknown Object (File)
Oct 25 2025, 4:38 AM
Unknown Object (File)
Oct 14 2025, 12:52 AM
Unknown Object (File)
Oct 14 2025, 12:52 AM
Unknown Object (File)
Oct 14 2025, 12:52 AM
Subscribers

Details

Summary

When VHE isn't implemented then the HCR_EL2.E2H field should be 0. Move
setting it to the VHE path of the early boot code so it is only set
when supported.

Sponsored by: Arm Ltd

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable