opnsense-src/sys/dev/hyperv
Mark Johnston a2ca269b38 hyperv: Register hyperv_timecounter later during boot
Previously the MSR-based timecounter was registered during
SI_SUB_HYPERVISOR, i.e., very early during boot, and before SI_SUB_LOCK.
After commit 621fd9dcb2 this triggers a panic since the timecounter
list lock is not yet initialized.

The hyperv timecounter does not need to be registered so early, so defer
that to SI_SUB_DRIVERS, at the same time the hyperv TSC timecounter is
registered.

Reported by:	whu
Approved by:	whu
Fixes:		621fd9dcb2 ("timecounter: Lock the timecounter list")
Sponsored by:	The FreeBSD Foundation

(cherry picked from commit 9ef7df022a)
2021-11-01 08:56:16 -04:00
..
hvsock socket: Rename sb(un)lock() and interlock with listen(2) 2021-10-07 09:56:47 -04:00
include HyperV socket implementation for FreeBSD 2020-05-20 11:03:59 +00:00
input Revert r355806: kbd drivers: don't double register keyboard drivers 2019-12-26 17:09:36 +00:00
netvsc netvsc: Fix a typo in a comment 2021-10-06 08:19:58 +02:00
pcib Hyper-V: pcib: Check revoke status during device attach 2020-10-15 05:57:20 +00:00
storvsc storvsc: fix auto-sense reporting 2021-05-21 13:32:13 +03:00
utilities
vmbus hyperv: Register hyperv_timecounter later during boot 2021-11-01 08:56:16 -04:00