]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
hyperv: Register the MSR-based timecounter during SI_SUB_HYPERVISOR
authorMark Johnston <markj@FreeBSD.org>
Fri, 19 Nov 2021 22:30:05 +0000 (17:30 -0500)
committerMark Johnston <markj@FreeBSD.org>
Fri, 19 Nov 2021 22:30:05 +0000 (17:30 -0500)
commited6a9452be01c1b7805d0a7311211b8cf381a9dd
treec96364cbe6aadeec7f6a06107741e39af42aa13e
parent3339950117bedb5f880f6c08982dcc5dd43f9c34
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
sys/dev/hyperv/vmbus/hyperv.c