1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-27 11:55:06 +00:00
freebsd/sys/x86
Mike Silbersack 5cf8ac1bc2 Disable TSC usage inside SMP VM environments. On my VMware ESXi 4.1
environment with a core i5-2500K, operation in this mode causes timeouts
from the mpt driver.  Switching to the ACPI-fast timer resolves this issue.
Switching the VM back to single CPU mode also works, which is why I have
not disabled the TSC in that mode.

I did not test with KVM or other VM environments, but I am being cautious
and assuming that the TSC is not reliable in SMP mode there as well.

Reviewed by:	kib
Approved by:	re (kib)
MFC after:	Not applicable, the timecounter code is new for 9.x
2011-08-22 03:10:29 +00:00
..
acpica Remove unneeded includes of <sys/linker_set.h>. Other headers that use 2011-01-11 13:59:06 +00:00
bios
cpufreq Use ACPI-supplied CPU frequencies instead of estimated ones as we are about 2011-04-27 00:32:35 +00:00
include Fix build when NEW_PCIB is not defined. 2011-07-16 14:05:34 +00:00
isa Implement boot-time TSC synchronization test for SMP. This test is executed 2011-05-09 17:34:00 +00:00
pci Move {amd64,i386}/pci/pci_bus.c and {amd64,i386}/include/pci_cfgreg.h to 2011-06-22 21:04:13 +00:00
x86 Disable TSC usage inside SMP VM environments. On my VMware ESXi 4.1 2011-08-22 03:10:29 +00:00