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 - Add wbnoinvd, virt_ssbd, tme, cldemote, m...



details:   https://anonhg.NetBSD.org/src/rev/aa2280c9cc69
branches:  trunk
changeset: 997018:aa2280c9cc69
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Mon Feb 18 05:41:20 2019 +0000

description:
- Add wbnoinvd, virt_ssbd, tme, cldemote, movdiri, movdir64b and pconfig.
- Move AMD 0x80000008 ebx's ibpb, ibrs and stibp to x86_features[8] linux
  mapping.

diffstat:

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

diffs (68 lines):

diff -r 173d706d5c0d -r aa2280c9cc69 sys/arch/x86/x86/procfs_machdep.c
--- a/sys/arch/x86/x86/procfs_machdep.c Mon Feb 18 02:42:27 2019 +0000
+++ b/sys/arch/x86/x86/procfs_machdep.c Mon Feb 18 05:41:20 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: procfs_machdep.c,v 1.27 2019/01/06 15:37:17 christos Exp $ */
+/*     $NetBSD: procfs_machdep.c,v 1.28 2019/02/18 05:41:20 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.27 2019/01/06 15:37:17 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: procfs_machdep.c,v 1.28 2019/02/18 05:41:20 msaitoh Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -115,14 +115,14 @@
        "hw_pstate", "proc_feedback", "sme", NULL,
        NULL, NULL, NULL, NULL,
        NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
-       NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL},
+       NULL, "ibrs", "ibpb", "stibp", NULL, NULL, NULL, NULL},
 
        { /* (8) Linux mapping */
        "tpr_shadow", "vnmi", "flexpriority", "ept",
        "vpid", "npt", "lbrv", "svm_lock",
        "nrip_save", "tsc_scale", "vmcb_clean", "flushbyasid",
        "decodeassists", "pausefilter", "pfthreshold", "vmmcall",
-       NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
+       NULL, "ept_ad", NULL, NULL, NULL, NULL, NULL, NULL,
        NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL},
 
        { /* (9) Intel-defined: 00000007 ebx */
@@ -153,9 +153,9 @@
 
        { /* (13) AMD 0x80000008 ebx */
        "clzero", "irperf", "xsaveerptr", NULL, NULL, NULL, NULL, NULL,
-       NULL, NULL, NULL, NULL, "ibpb", NULL, "ibrs", "stibp",
+       NULL, "wbnoinvd", NULL, NULL, NULL, NULL, NULL, NULL,
        NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
-       NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL},
+       NULL, "virt_ssbd", NULL, NULL, NULL, NULL, NULL, NULL},
 
        { /* (14) 0x00000006 eax */
        "dtherm", "ida", "arat", NULL, "pln", NULL, "pts", "hwp",
@@ -176,9 +176,9 @@
        NULL, "avx512vbmi", "umip", "pku",
        "ospke", NULL, "avx512_vbmi2", NULL,
        "gfni", "vaes", "vpclmulqdq", "avx512_vnni",
-       "avx512_bitalg", NULL, "avx512_vpopcntdq", NULL,
+       "avx512_bitalg", "tme", "avx512_vpopcntdq", NULL,
        "la57", NULL, NULL, NULL, NULL, NULL, "rdpid", NULL,
-       NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL},
+       NULL, "cldemote", NULL, "movdiri", "movdir64b", NULL, NULL, NULL},
 
        { /* (17) 0x80000007 ebx */
        "overflow_recov", "succor", NULL, "smca", NULL, NULL, NULL, NULL,
@@ -189,7 +189,7 @@
        { /* (18) Intel 0x00000007 edx */
        NULL, NULL, "avx512_4vnniw", "avx512_4fmaps", NULL, NULL, NULL, NULL,
        NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
-       NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
+       NULL, NULL, "pconfig", NULL, NULL, NULL, NULL, NULL,
        NULL, NULL, NULL, NULL,
        "flush_l1d", "arch_capabilities", NULL, "ssbd"},
 };



Home | Main Index | Thread Index | Old Index