Page MenuHomeFreeBSD

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

Authored by andrew on Tue, Jul 1, 12:35 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jul 5, 7:07 PM
Unknown Object (File)
Wed, Jul 2, 10:03 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