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 Hide OSPKE. NFC since the host never uses P...



details:   https://anonhg.NetBSD.org/src/rev/5416720e5756
branches:  trunk
changeset: 974796:5416720e5756
user:      maxv <maxv%NetBSD.org@localhost>
date:      Tue Aug 11 15:23:10 2020 +0000

description:
Hide OSPKE. NFC since the host never uses PKU, but still.

diffstat:

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

diffs (27 lines):

diff -r 8e1ed8f28d4b -r 5416720e5756 sys/dev/nvmm/x86/nvmm_x86.c
--- a/sys/dev/nvmm/x86/nvmm_x86.c       Tue Aug 11 13:19:15 2020 +0000
+++ b/sys/dev/nvmm/x86/nvmm_x86.c       Tue Aug 11 15:23:10 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nvmm_x86.c,v 1.11 2020/08/05 15:38:28 maxv Exp $       */
+/*     $NetBSD: nvmm_x86.c,v 1.12 2020/08/11 15:23:10 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.11 2020/08/05 15:38:28 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nvmm_x86.c,v 1.12 2020/08/11 15:23:10 maxv Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -338,7 +338,7 @@
            /* CPUID_SEF_AVX512_VBMI excluded */
            CPUID_SEF_UMIP |
            /* CPUID_SEF_PKU excluded */
-           CPUID_SEF_OSPKE |
+           /* CPUID_SEF_OSPKE excluded */
            /* CPUID_SEF_WAITPKG excluded */
            /* CPUID_SEF_AVX512_VBMI2 excluded */
            /* CPUID_SEF_CET_SS excluded */



Home | Main Index | Thread Index | Old Index