]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC 276724:
authorjhb <jhb@FreeBSD.org>
Thu, 2 Apr 2015 01:02:42 +0000 (01:02 +0000)
committerjhb <jhb@FreeBSD.org>
Thu, 2 Apr 2015 01:02:42 +0000 (01:02 +0000)
commitb09b758bf25e41249b9253a3a796713405f28b4d
tree7694f537b30d0bb29bc4821549a8b28e4d2fb4b4
parent5fdf8ec7775f40bbf293206a9670387f9b26b1e2
MFC 276724:
On some Intel CPUs with a P-state but not C-state invariant TSC the TSC
may also halt in C2 and not just C3 (it seems that in some cases the BIOS
advertises its C3 state as a C2 state in _CST).  Just play it safe and
disable both C2 and C3 states if a user forces the use of the TSC as the
timecounter on such CPUs.

PR: 192316
sys/amd64/amd64/machdep.c
sys/dev/acpica/acpi_cpu.c
sys/i386/i386/machdep.c
sys/kern/kern_clocksource.c
sys/kern/kern_tc.c
sys/sys/systm.h
sys/sys/timetc.h
sys/x86/x86/tsc.c