Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/x86/x86 Take some changes from the Linux's latest x...



details:   https://anonhg.NetBSD.org/src/rev/dcd04118169c
branches:  trunk
changeset: 344908:dcd04118169c
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Wed Apr 27 08:45:22 2016 +0000

description:
Take some changes from the Linux's latest x86/include/asm/cpufeatures.h.
 - Add ptsc, avx512dq, avx512bw and avx512vl
 - Remove some Linux mappings.

diffstat:

 sys/arch/x86/x86/procfs_machdep.c |  17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)

diffs (49 lines):

diff -r c056baf713e5 -r dcd04118169c sys/arch/x86/x86/procfs_machdep.c
--- a/sys/arch/x86/x86/procfs_machdep.c Wed Apr 27 08:18:40 2016 +0000
+++ b/sys/arch/x86/x86/procfs_machdep.c Wed Apr 27 08:45:22 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: procfs_machdep.c,v 1.11 2016/02/12 05:32:47 msaitoh Exp $ */
+/*     $NetBSD: procfs_machdep.c,v 1.12 2016/04/27 08:45:22 msaitoh Exp $ */
 
 /*
  * Copyright (c) 2001 Wasabi Systems, Inc.
@@ -42,7 +42,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: procfs_machdep.c,v 1.11 2016/02/12 05:32:47 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: procfs_machdep.c,v 1.12 2016/04/27 08:45:22 msaitoh Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -105,12 +105,13 @@
        "3dnowprefetch", "osvw", "ibs", "xop", "skinit", "wdt", NULL, "lwp",
        "fma4", "tce", NULL, "nodeid_msr",
        NULL, "tbm", "topoext", "perfctr_core",
-       "perfctr_nb", NULL, "bpext", NULL, "perfctr_l2", "mwaitx", NULL, NULL},
+       "perfctr_nb", NULL, "bpext", "ptsc",
+       "perfctr_l2", "mwaitx", NULL, NULL},
 
        { /* (7) Linux mapping */
-       "ida", "arat", "cpb", "ebp", NULL, "pln", "pts", "dtherm",
-       "hw_pstate", "proc_feedback", "hwp", "hwp_notify", "hwp_act_window",
-       "hwp_epp", "hwp_pkg_req", "intel_pt",
+       NULL, NULL, "cpb", "ebp", NULL, "pln", "pts", "dtherm",
+       "hw_pstate", "proc_feedback", NULL, NULL,
+       NULL, NULL, NULL, "intel_pt",
        NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
        NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL},
 
@@ -125,10 +126,10 @@
        { /* (9) Intel-defined: 00000007 ebx */
        "fsgsbase", "tsc_adjust", NULL, "bmi1", "hle", "avx2", NULL, "smep",
        "bmi2", "erms", "invpcid", "rtm", "cqm", NULL, "mpx", NULL,
-       "avx512f", NULL, "rdseed", "adx",
+       "avx512f", "avx512dq", "rdseed", "adx",
        "smap", NULL, "pcommit", "clflushopt",
        "clwb", NULL, "avx512pf", "avx512er",
-       "avx512cd", "sha_ni", NULL, NULL},
+       "avx512cd", "sha_ni", "avx512bw", "avx512vl"},
 
        { /* (10) 0000000d eax */
        "xsaveopt", "xsavec", "xgetbv1", "xsaves", NULL, NULL, NULL, NULL,



Home | Main Index | Thread Index | Old Index