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 Don't report MWAITX by default.



details:   https://anonhg.NetBSD.org/src/rev/23a2ece9b503
branches:  trunk
changeset: 461137:23a2ece9b503
user:      maxv <maxv%NetBSD.org@localhost>
date:      Sat Nov 16 17:53:46 2019 +0000

description:
Don't report MWAITX by default.

diffstat:

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

diffs (36 lines):

diff -r 12ebb8ce7387 -r 23a2ece9b503 sys/dev/nvmm/x86/nvmm_x86.c
--- a/sys/dev/nvmm/x86/nvmm_x86.c       Sat Nov 16 17:53:02 2019 +0000
+++ b/sys/dev/nvmm/x86/nvmm_x86.c       Sat Nov 16 17:53:46 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nvmm_x86.c,v 1.7 2019/05/15 04:39:52 maxv Exp $        */
+/*     $NetBSD: nvmm_x86.c,v 1.8 2019/11/16 17:53:46 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.7 2019/05/15 04:39:52 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nvmm_x86.c,v 1.8 2019/11/16 17:53:46 maxv Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -292,7 +292,7 @@
        .eax = ~0,
        .ebx = ~0,
        .ecx =
-           /* Excluded: SVM, EAPIC, OSVW. */
+           /* Excluded: SVM, EAPIC, OSVW, MWAITX. */
            CPUID_LAHF | CPUID_CMPLEGACY |
            CPUID_ALTMOVCR0 | CPUID_LZCNT |
            CPUID_SSE4A | CPUID_MISALIGNSSE |
@@ -304,7 +304,7 @@
            CPUID_TOPOEXT | CPUID_PCEC |
            CPUID_PCENB | CPUID_SPM |
            CPUID_DBE | CPUID_PTSC |
-           CPUID_L2IPERFC | CPUID_MWAITX,
+           CPUID_L2IPERFC,
        .edx =
            /* Excluded: RDTSCP. */
            CPUID_SYSCALL | CPUID_MPC |



Home | Main Index | Thread Index | Old Index