When running under a VM we don't have access to the physical counter.
Add support to emulate this instruction by handling the trap in the
kernel. As it is slow only enable when the hw.emulate_phys_counter
tunable is set on boot.
Details
Details
- Reviewers
kib markj - Group Reviewers
arm64 - Commits
- rG278111b8a541: Allow the kernel to emulate the physical counter on arm64
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable