summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2008-10-22 17:30:37 +0000
committerjkim <jkim@FreeBSD.org>2008-10-22 17:30:37 +0000
commita62bf181b53f6d819c63b2d584ae3c1acedf2b6e (patch)
treec45b816f5f58210a2af174eaf0580c5a30d0e9fc /sys/amd64
parent3667673537759b789eadce36fa09143b45b442a1 (diff)
downloadFreeBSD-src-a62bf181b53f6d819c63b2d584ae3c1acedf2b6e.zip
FreeBSD-src-a62bf181b53f6d819c63b2d584ae3c1acedf2b6e.tar.gz
Add AMD Family 0Fh, Model 6Bh, Stepping 2 to the list of invariant TSCs
and fix i386 test.
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/amd64/identcpu.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/amd64/amd64/identcpu.c b/sys/amd64/amd64/identcpu.c
index 5cdb91f..76b0e55 100644
--- a/sys/amd64/amd64/identcpu.c
+++ b/sys/amd64/amd64/identcpu.c
@@ -347,12 +347,17 @@ printcpuinfo(void)
"AuthenticAMD") == 0)
cpu_feature &= ~CPUID_HTT;
+ /*
+ * If this CPU supports P-state invariant TSC then
+ * mention the capability.
+ */
if (!tsc_is_invariant &&
(strcmp(cpu_vendor, "AuthenticAMD") == 0 &&
((amd_pminfo & AMDPM_TSC_INVARIANT) != 0 ||
- AMD64_CPU_FAMILY(cpu_id) >= 0x10))) {
+ AMD64_CPU_FAMILY(cpu_id) >= 0x10 ||
+ cpu_id == 0x60fb2))) {
tsc_is_invariant = 1;
- printf("\n P-state invariant TSC");
+ printf("\n TSC: P-state invariant");
}
/*
OpenPOWER on IntegriCloud