opnsense-src/sys/dev/hyperv/vmbus
Mark Johnston 9ef7df022a 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")
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
2021-10-25 13:25:01 -04:00
..
amd64 pvclock: Add vDSO support 2021-08-14 15:57:54 +03:00
i386 Change "compiled" to "assembled" 2021-06-11 13:58:51 -06:00
hyperv.c hyperv: Register hyperv_timecounter later during boot 2021-10-25 13:25:01 -04:00
hyperv_busdma.c
hyperv_machdep.h
hyperv_reg.h
hyperv_var.h
vmbus.c newbus: Move from bus_child_{pnpinfo,location}_src to bus_child_{pnpinfo,location} with sbuf 2021-06-22 20:52:06 -06:00
vmbus_br.c Fix i386 build for r361275 2020-05-20 13:51:27 +00:00
vmbus_brvar.h HyperV socket implementation for FreeBSD 2020-05-20 11:03:59 +00:00
vmbus_chan.c HyperV socket implementation for FreeBSD 2020-05-20 11:03:59 +00:00
vmbus_chanvar.h HyperV socket implementation for FreeBSD 2020-05-20 11:03:59 +00:00
vmbus_et.c
vmbus_if.m
vmbus_reg.h HyperV socket implementation for FreeBSD 2020-05-20 11:03:59 +00:00
vmbus_res.c Distinguish _CID match and _HID match and make lower priority probe 2018-10-26 00:05:46 +00:00
vmbus_var.h
vmbus_xact.c