svn commit: r357871 - head/sys/dev/hyperv/vmbus/amd64
Konstantin Belousov
kib at FreeBSD.org
Thu Feb 13 19:12:07 UTC 2020
Author: kib
Date: Thu Feb 13 19:12:07 2020
New Revision: 357871
URL: https://svnweb.freebsd.org/changeset/base/357871
Log:
hyperv: Add Hygon Dhyana support.
Submitted by: Pu Wen <puwen at hygon.cn>
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D23563
Modified:
head/sys/dev/hyperv/vmbus/amd64/hyperv_machdep.c
Modified: head/sys/dev/hyperv/vmbus/amd64/hyperv_machdep.c
==============================================================================
--- head/sys/dev/hyperv/vmbus/amd64/hyperv_machdep.c Thu Feb 13 19:10:51 2020 (r357870)
+++ head/sys/dev/hyperv/vmbus/amd64/hyperv_machdep.c Thu Feb 13 19:12:07 2020 (r357871)
@@ -188,6 +188,7 @@ hyperv_tsc_tcinit(void *dummy __unused)
switch (cpu_vendor_id) {
case CPU_VENDOR_AMD:
+ case CPU_VENDOR_HYGON:
hyperv_tsc_timecounter.tc_get_timecount =
hyperv_tsc_timecount_mfence;
tc64 = hyperv_tc64_tsc_mfence;
More information about the svn-src-head
mailing list