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)
Sat, Jan 31, 2:48 AM
Unknown Object (File)
Tue, Jan 27, 3:17 AM
Unknown Object (File)
Dec 30 2025, 12:23 PM
Unknown Object (File)
Dec 11 2025, 5:10 AM
Unknown Object (File)
Nov 28 2025, 10:09 PM
Unknown Object (File)
Nov 12 2025, 5:26 AM
Unknown Object (File)
Nov 6 2025, 1:08 AM
Unknown Object (File)
Oct 27 2025, 11:43 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