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)
Thu, Mar 19, 7:52 AM
Unknown Object (File)
Thu, Mar 12, 7:10 PM
Unknown Object (File)
Wed, Mar 11, 7:16 PM
Unknown Object (File)
Feb 17 2026, 6:12 PM
Unknown Object (File)
Feb 7 2026, 10:05 PM
Unknown Object (File)
Jan 24 2026, 10:12 PM
Unknown Object (File)
Dec 6 2025, 9:05 PM
Unknown Object (File)
Nov 26 2025, 12:53 PM
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