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)
Thu, Mar 19, 6:03 PM
Unknown Object (File)
Thu, Mar 19, 11:18 AM
Unknown Object (File)
Sun, Mar 15, 5:00 PM
Unknown Object (File)
Mon, Mar 2, 5:32 PM
Unknown Object (File)
Sun, Mar 1, 2:33 PM
Unknown Object (File)
Thu, Feb 19, 8:43 AM
Unknown Object (File)
Feb 18 2026, 12:50 PM
Unknown Object (File)
Feb 15 2026, 9:25 AM
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 66101
Build 62984: arc lint + arc unit