git: kernel - Use the TSC as the cpu clock on AMD Ryzen or later
Matthew Dillon
dillon at crater.dragonflybsd.org
Sun Mar 26 23:43:17 PDT 2017
commit 79c04d9c6ef6c8cf1780587129be432cd483d42e
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Sun Mar 26 23:15:35 2017 -0700
kernel - Use the TSC as the cpu clock on AMD Ryzen or later
* The TSC is usable as the cpu clock on AMD Ryzen or later, adjust
the code for this.
* Recode hw.tsc_cputimer_force to still run the TSC test, but then
force use of the TSC for the cpu clock whether the test succeeds
or fails.
Suggested-by: Sephe
Summary of changes:
sys/platform/pc64/isa/clock.c | 29 ++++++++++++++++++++++-------
1 file changed, 22 insertions(+), 7 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/79c04d9c6ef6c8cf1780587129be432cd483d42e
--
DragonFly BSD source repository
More information about the Commits
mailing list