]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC 276724:
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 2 Apr 2015 01:02:42 +0000 (01:02 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 2 Apr 2015 01:02:42 +0000 (01:02 +0000)
commit639afb8bc1dec721ab3e8e17a92686738aba8e2f
tree0760f1543a74985662787147795903ec4bb44393
parentcb0621836bd16bff27906ed9514bdd587ca4f6fa
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

git-svn-id: svn://svn.freebsd.org/base/stable/9@280973 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
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