Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/nvmm/x86 NVMM: Expose MD_CLEAR to the guests.



details:   https://anonhg.NetBSD.org/src/rev/eca1a1ad62d7
branches:  trunk
changeset: 841440:eca1a1ad62d7
user:      maxv <maxv%NetBSD.org@localhost>
date:      Wed May 15 04:39:52 2019 +0000

description:
NVMM: Expose MD_CLEAR to the guests.

diffstat:

 sys/dev/nvmm/x86/nvmm_x86.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r e36dacc30459 -r eca1a1ad62d7 sys/dev/nvmm/x86/nvmm_x86.c
--- a/sys/dev/nvmm/x86/nvmm_x86.c       Wed May 15 03:33:41 2019 +0000
+++ b/sys/dev/nvmm/x86/nvmm_x86.c       Wed May 15 04:39:52 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nvmm_x86.c,v 1.6 2019/04/06 11:49:53 maxv Exp $        */
+/*     $NetBSD: nvmm_x86.c,v 1.7 2019/05/15 04:39:52 maxv Exp $        */
 
 /*
  * Copyright (c) 2018-2019 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nvmm_x86.c,v 1.6 2019/04/06 11:49:53 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nvmm_x86.c,v 1.7 2019/05/15 04:39:52 maxv Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -284,8 +284,8 @@
            CPUID_SEF_CLDEMOTE | CPUID_SEF_MOVDIRI |
            CPUID_SEF_MOVDIR64B | CPUID_SEF_SGXLC,
        .edx =
-           /* Excluded: all except CAP. */
-           CPUID_SEF_ARCH_CAP
+           /* Excluded: all except MD_CLEAR and ARCH_CAP. */
+           CPUID_SEF_MD_CLEAR | CPUID_SEF_ARCH_CAP
 };
 
 const struct nvmm_x86_cpuid_mask nvmm_cpuid_80000001 = {



Home | Main Index | Thread Index | Old Index