kernel - Use the TSC as the cpu clock on AMD Ryzen or later
commit79c04d9c6ef6c8cf1780587129be432cd483d42e
authorMatthew Dillon <dillon@apollo.backplane.com>
Mon, 27 Mar 2017 06:15:35 +0000 (26 23:15 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Mon, 27 Mar 2017 06:43:09 +0000 (26 23:43 -0700)
tree39252e3082e5066afa2fb37fa22c08ab80197abc
parenta1874fede74175d4a8e5586c0c53329d16b9aa69
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
sys/platform/pc64/isa/clock.c