From 4e012582d35afc1d896bd0abb74572f257d2c364 Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Thu, 13 Feb 2020 19:12:07 +0000 Subject: hyperv: Add Hygon Dhyana support. Submitted by: Pu Wen MFC after: 1 week Differential revision: https://reviews.freebsd.org/D23563 --- sys/dev/hyperv/vmbus/amd64/hyperv_machdep.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/dev') diff --git a/sys/dev/hyperv/vmbus/amd64/hyperv_machdep.c b/sys/dev/hyperv/vmbus/amd64/hyperv_machdep.c index 1c90d4bcee65..c08098138805 100644 --- a/sys/dev/hyperv/vmbus/amd64/hyperv_machdep.c +++ b/sys/dev/hyperv/vmbus/amd64/hyperv_machdep.c @@ -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; -- cgit v1.3