Page MenuHomeFreeBSD

arm64/vmm: Use FEAT_ECV_POFF to support a timer
ClosedPublic

Authored by andrew on Aug 8 2025, 12:21 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 25, 10:28 PM
Unknown Object (File)
Tue, Apr 21, 11:58 AM
Unknown Object (File)
Wed, Apr 8, 6:49 AM
Unknown Object (File)
Tue, Apr 7, 3:23 PM
Unknown Object (File)
Tue, Apr 7, 10:10 AM
Unknown Object (File)
Mar 19 2026, 6:03 PM
Unknown Object (File)
Mar 19 2026, 11:18 AM
Unknown Object (File)
Mar 15 2026, 5:00 PM
Subscribers

Details

Summary

Support guest access to the physical timer when FEAT_ECV_POFF is
supported. In this case we can set an offset for the physical timer.
We can reuse the virtual timer support to also support the physical
timer, with a few more registers needing to be handled when switching
to a guest.

As it is not clear how this will affect performance when the guest
doesn't use it hide enabling it behind a sysctl.

It is expected this will be useful when Nested Virtualisation is
supported as guests are expected to use the physical timer registers.

Sponsored by: Arm Ltd

Diff Detail

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