Page MenuHomeFreeBSD

arm64: Add in_vhe() to find if the kernel is in VHE
ClosedPublic

Authored by andrew on Feb 19 2024, 3:28 PM.
Tags
None
Referenced Files
F156573548: D43973.id134644.diff
Thu, May 14, 6:49 PM
F156573499: D43973.diff
Thu, May 14, 6:48 PM
Unknown Object (File)
Thu, May 7, 1:42 PM
Unknown Object (File)
Sun, Apr 19, 1:39 PM
Unknown Object (File)
Apr 11 2026, 8:35 AM
Unknown Object (File)
Apr 11 2026, 2:11 AM
Unknown Object (File)
Apr 9 2026, 8:01 PM
Unknown Object (File)
Apr 6 2026, 2:24 PM
Subscribers

Details

Summary

Add a function to support devices that may need to know if the kernel
has enabled the Armv8.1 Virtulization Host Extensions (FEAT_VHE).
Some devices, e.g. the generic timer, will need to know, e.g. use a
different interrupt.

Sponsored by: Arm Ltd

Diff Detail

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