[Bug 240475] [PATCH]: Add support for CPUID 0x16 in tsc_freq_cpuid() (TSC clock)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Sep 25 13:37:21 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240475
--- Comment #9 from commit-hook at freebsd.org ---
A commit references this bug:
Author: kib
Date: Wed Sep 25 13:36:56 UTC 2019
New revision: 352684
URL: https://svnweb.freebsd.org/changeset/base/352684
Log:
x86: Fall back to leaf 0x16 if TSC frequency is obtained by CPUID and
leaf 0x15 is not functional.
This should improve automatic TSC frequency determination on
Skylake/Kabylake/... families, where 0x15 exists but does not provide
all necessary information. SDM contains relatively strong wording
against such uses of 0x16, but Intel does not give us any other way to
obtain the frequency. Linux did the same in the commit
604dc9170f2435d27da5039a3efd757dceadc684.
Based on submission by: Neel Chauhan <neel at neelc.org>
PR: 240475
Reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D21777
Changes:
head/sys/x86/x86/tsc.c
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list