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-x86: hide more CPUID flags, mostly rel...



details:   https://anonhg.NetBSD.org/src/rev/f95bcd1dbf56
branches:  trunk
changeset: 1013166:f95bcd1dbf56
user:      maxv <maxv%NetBSD.org@localhost>
date:      Sat Aug 22 11:00:00 2020 +0000

description:
nvmm-x86: hide more CPUID flags, mostly related to perf monitors

diffstat:

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

diffs (52 lines):

diff -r eb96c4e8ae13 -r f95bcd1dbf56 sys/dev/nvmm/x86/nvmm_x86.c
--- a/sys/dev/nvmm/x86/nvmm_x86.c       Sat Aug 22 10:59:05 2020 +0000
+++ b/sys/dev/nvmm/x86/nvmm_x86.c       Sat Aug 22 11:00:00 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nvmm_x86.c,v 1.14 2020/08/20 11:09:56 maxv Exp $       */
+/*     $NetBSD: nvmm_x86.c,v 1.15 2020/08/22 11:00:00 maxv Exp $       */
 
 /*
  * Copyright (c) 2018-2020 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nvmm_x86.c,v 1.14 2020/08/20 11:09:56 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nvmm_x86.c,v 1.15 2020/08/22 11:00:00 maxv Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -389,22 +389,22 @@
            CPUID_MISALIGNSSE |
            CPUID_3DNOWPF |
            /* CPUID_OSVW excluded */
-           CPUID_IBS |
+           /* CPUID_IBS excluded */
            CPUID_XOP |
            /* CPUID_SKINIT excluded */
-           CPUID_WDT |
-           CPUID_LWP |
+           /* CPUID_WDT excluded */
+           /* CPUID_LWP excluded */
            CPUID_FMA4 |
            CPUID_TCE |
-           CPUID_NODEID |
+           /* CPUID_NODEID excluded */
            CPUID_TBM |
-           CPUID_TOPOEXT |
-           CPUID_PCEC |
-           CPUID_PCENB |
-           CPUID_SPM |
-           CPUID_DBE |
-           CPUID_PTSC |
-           CPUID_L2IPERFC,
+           CPUID_TOPOEXT,
+           /* CPUID_PCEC excluded */
+           /* CPUID_PCENB excluded */
+           /* CPUID_SPM excluded */
+           /* CPUID_DBE excluded */
+           /* CPUID_PTSC excluded */
+           /* CPUID_L2IPERFC excluded */
            /* CPUID_MWAITX excluded */
        .edx =
            CPUID_SYSCALL |



Home | Main Index | Thread Index | Old Index