Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Feb 2020 19:12:07 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r357871 - head/sys/dev/hyperv/vmbus/amd64
Message-ID:  <202002131912.01DJC7Gu047545@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202002131912.01DJC7Gu047545>