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
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D33014

Details

Provenance
markjAuthored on Nov 19 2021, 10:30 PM
Reviewer
kib
Differential Revision
D33014: timecounter: Initialize tc_lock earlier
Parents
rG3339950117be: timecounter: Initialize tc_lock earlier
Branches
Unknown
Tags
Unknown
Reverts
rG9ef7df022a46: hyperv: Register hyperv_timecounter later during boot