Page MenuHomeFreeBSD

arm64/vmm: Add a feature flag and use it for HCRX
ClosedPublic

Authored by andrew on Aug 8 2025, 12:20 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, May 20, 10:25 AM
Unknown Object (File)
Sun, May 17, 11:15 PM
Unknown Object (File)
Sun, May 17, 11:15 PM
Unknown Object (File)
Sun, May 17, 10:55 PM
Unknown Object (File)
Wed, May 6, 6:31 AM
Unknown Object (File)
Apr 18 2026, 3:56 AM
Unknown Object (File)
Apr 16 2026, 1:11 PM
Unknown Object (File)
Apr 15 2026, 12:45 AM
Subscribers

Details

Summary

Add a field to hold the features the hardware supports that need to be
handled when switching to a guest and use it to handle FEAT_HCX that
adds the HRX_EL2 register.

This reduces the number of times we read ID registers in guest
switching which may be trapped when running under nested virtualisation.

Sponsored by: Arm Ltd

Diff Detail

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