1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00
freebsd/sys/dev/hyperv/vmbus
Sepherosa Ziehau 04c247a1d0 hyperv: Register Hyper-V timer early enough for TSC freq calibration
The i8254 simulation in Hyper-V is kinda broken and is not available
in Generation 2 Hyper-V VMs, so Hyper-V timer must be registered early
enough so that it can be used to do the TSC freq calibration.

This fixes the notorious warning like this:
calcru: runtime went backwards from 50 usec to 25 usec for pid 0 (kernel)

Submitted by:	Dexuan Cui <decui microsoft com>
Reviewed by:	kib, sephe
Tested by:	kib, sephe
MFC after:	1 week
Sponsored by:	Microsoft OSTC
Differential Revision:	https://reviews.freebsd.org/D5778
2016-04-01 06:17:57 +00:00
..
hv_channel_mgmt.c hyperv/hn: Add multiple channel support, a.k.a. vRSS 2016-03-04 06:52:11 +00:00
hv_channel.c hyperv/chan: Function renaming; no functional change 2016-03-02 01:33:30 +00:00
hv_connection.c hyperv/vmbus: use a better retry method in hv_vmbus_post_message() 2016-03-24 00:40:41 +00:00
hv_et.c hyperv/evttimer: Use an independent message slot so that it can work 2016-03-22 05:48:51 +00:00
hv_hv.c hyperv: Register Hyper-V timer early enough for TSC freq calibration 2016-04-01 06:17:57 +00:00
hv_ring_buffer.c hyperv/channel: Add debug sysctl nodes for channel indices 2016-02-29 05:24:29 +00:00
hv_vmbus_drv_freebsd.c hyperv/vmbus: Create per-cpu fast taskqueue for msg handling 2016-03-24 02:15:23 +00:00
hv_vmbus_priv.h hyperv/vmbus: Create per-cpu fast taskqueue for msg handling 2016-03-24 02:15:23 +00:00