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)
Mon, May 25, 8:19 PM
Unknown Object (File)
Wed, Apr 29, 12:44 AM
Unknown Object (File)
Apr 27 2026, 4:23 AM
Unknown Object (File)
Apr 24 2026, 6:48 AM
Unknown Object (File)
Apr 21 2026, 2:09 AM
Unknown Object (File)
Apr 21 2026, 2:05 AM
Unknown Object (File)
Apr 18 2026, 11:40 PM
Unknown Object (File)
Apr 8 2026, 12:20 PM
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