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
F167994178: D51816.diff
Tue, Aug 25, 7:52 PM
Unknown Object (File)
Tue, Aug 25, 2:27 AM
Unknown Object (File)
Sun, Aug 23, 8:59 AM
Unknown Object (File)
Sat, Aug 22, 6:23 PM
Unknown Object (File)
Sat, Aug 22, 12:33 PM
Unknown Object (File)
Thu, Aug 20, 8:35 AM
Unknown Object (File)
Wed, Aug 19, 2:09 AM
Unknown Object (File)
Mon, Aug 17, 8:27 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