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 <pu...@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;
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to