svn commit: r358151 - stable/12/sys/dev/hyperv/vmbus/amd64

Konstantin Belousov kib at FreeBSD.org
Thu Feb 20 01:45:56 UTC 2020


Author: kib
Date: Thu Feb 20 01:45:55 2020
New Revision: 358151
URL: https://svnweb.freebsd.org/changeset/base/358151

Log:
  MFC r357871:
  hyperv: Add Hygon Dhyana support.

Modified:
  stable/12/sys/dev/hyperv/vmbus/amd64/hyperv_machdep.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/dev/hyperv/vmbus/amd64/hyperv_machdep.c
==============================================================================
--- stable/12/sys/dev/hyperv/vmbus/amd64/hyperv_machdep.c	Thu Feb 20 01:44:50 2020	(r358150)
+++ stable/12/sys/dev/hyperv/vmbus/amd64/hyperv_machdep.c	Thu Feb 20 01:45:55 2020	(r358151)
@@ -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-stable mailing list