diff options
author | sephe <sephe@FreeBSD.org> | 2016-04-01 06:17:57 +0000 |
---|---|---|
committer | sephe <sephe@FreeBSD.org> | 2016-04-01 06:17:57 +0000 |
commit | cff47489671a6ec6470f706f530df99c158511b0 (patch) | |
tree | 1b79483a202fd71a84267193093cd32a4429b55f /sys/ofed/drivers | |
parent | b381dd918ec470d729963a8706ba6c43cbf3902d (diff) | |
download | FreeBSD-src-cff47489671a6ec6470f706f530df99c158511b0.zip FreeBSD-src-cff47489671a6ec6470f706f530df99c158511b0.tar.gz |
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
Diffstat (limited to 'sys/ofed/drivers')
0 files changed, 0 insertions, 0 deletions