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 Intel lam and AMD vnmi.



details:   https://anonhg.NetBSD.org/src/rev/baf788ebe0e1
branches:  trunk
changeset: 374207:baf788ebe0e1
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Tue Apr 11 02:42:15 2023 +0000

description:
Add Intel lam and AMD vnmi.

diffstat:

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

diffs (36 lines):

diff -r ae7bbbdfa30b -r baf788ebe0e1 sys/arch/x86/x86/procfs_machdep.c
--- a/sys/arch/x86/x86/procfs_machdep.c Tue Apr 11 00:03:42 2023 +0000
+++ b/sys/arch/x86/x86/procfs_machdep.c Tue Apr 11 02:42:15 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: procfs_machdep.c,v 1.46 2022/12/30 13:48:40 msaitoh Exp $ */
+/*     $NetBSD: procfs_machdep.c,v 1.47 2023/04/11 02:42:15 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.46 2022/12/30 13:48:40 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: procfs_machdep.c,v 1.47 2023/04/11 02:42:15 msaitoh Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -151,7 +151,7 @@ static const char * const x86_features[]
        "avx_vnni", "avx512_bf16", NULL, NULL,
        NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
        NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
-       NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL},
+       NULL, NULL, "lam", NULL, NULL, NULL, NULL, NULL},
 
        { /* (13) AMD 0x80000008 ebx */
        "clzero", "irperf", "xsaveerptr", NULL, "rdpru", NULL, NULL, NULL,
@@ -172,7 +172,7 @@ static const char * const x86_features[]
        NULL, NULL, "pausefilter", NULL, "pfthreshold", "avic", NULL,
        "v_vmsave_vmload",
        "vgif", NULL, "x2avic", NULL, "v_spec_ctrl", NULL, NULL, NULL,
-       NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL},
+       NULL, "vnmi", NULL, NULL, NULL, NULL, NULL, NULL},
 
        { /* (16) 0x00000007:0 ecx */
        NULL, "avx512vbmi", "umip", "pku",



Home | Main Index | Thread Index | Old Index