Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Feb 2020 01:45:55 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r358151 - stable/12/sys/dev/hyperv/vmbus/amd64
Message-ID:  <202002200145.01K1jtiC098993@repo.freebsd.org>

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



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