Page MenuHomeFreeBSD

arm64/vmm: Use FEAT_ECV_POFF to support a timer
Needs ReviewPublic

Authored by andrew on Fri, Aug 8, 12:21 PM.
Tags
None
Referenced Files
F126730013: D51821.diff
Sat, Aug 23, 5:16 AM
Unknown Object (File)
Fri, Aug 22, 9:34 AM
Unknown Object (File)
Fri, Aug 22, 9:34 AM
Unknown Object (File)
Thu, Aug 14, 3:07 PM
Unknown Object (File)
Sat, Aug 9, 6:09 AM
Unknown Object (File)
Sat, Aug 9, 5:40 AM
Subscribers

Details

Reviewers
manu
Group Reviewers
arm64
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