HomeFreeBSD

hyperv: Register the MSR-based timecounter during SI_SUB_HYPERVISOR

Description

hyperv: Register the MSR-based timecounter during SI_SUB_HYPERVISOR

This reverts commit 9ef7df022a46 ("hyperv: Register hyperv_timecounter
later during boot") and adds a comment explaining why the timecounter
needs to be registered as early as it is.

PR: 259878
Fixes: 9ef7df022a46 ("hyperv: Register hyperv_timecounter later during boot")
Reviewed by: kib
Sponsored by: The FreeBSD Foundation

(cherry picked from commit ed6a9452be01c1b7805d0a7311211b8cf381a9dd)

Details

Provenance
markjAuthored on Nov 19 2021, 10:30 PM
Parents
rG686b143f37c5: timecounter: Initialize tc_lock earlier
Branches
Unknown
Tags
Unknown
Reverts
rG9ef7df022a46: hyperv: Register hyperv_timecounter later during boot