Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/x86/include Add RSBA. When set, it indicates that t...



details:   https://anonhg.NetBSD.org/src/rev/a7e50dc6160f
branches:  trunk
changeset: 361997:a7e50dc6160f
user:      maxv <maxv%NetBSD.org@localhost>
date:      Tue May 22 07:24:08 2018 +0000

description:
Add RSBA. When set, it indicates that the CPU is vulnerable to SpectreV2
via the RSB.

diffstat:

 sys/arch/x86/include/specialreg.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r de13af5b21b7 -r a7e50dc6160f sys/arch/x86/include/specialreg.h
--- a/sys/arch/x86/include/specialreg.h Tue May 22 07:11:53 2018 +0000
+++ b/sys/arch/x86/include/specialreg.h Tue May 22 07:24:08 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: specialreg.h,v 1.121 2018/05/22 07:11:53 maxv Exp $    */
+/*     $NetBSD: specialreg.h,v 1.122 2018/05/22 07:24:08 maxv Exp $    */
 
 /*-
  * Copyright (c) 1991 The Regents of the University of California.
@@ -661,6 +661,7 @@
 #define MSR_IA32_ARCH_CAPABILITIES 0x10a
 #define        IA32_ARCH_RDCL_NO       0x01
 #define        IA32_ARCH_IBRS_ALL      0x02
+#define        IA32_ARCH_RSBA          0x04
 #define        IA32_ARCH_SSB_NO        0x10
 #define MSR_BBL_CR_ADDR                0x116   /* PII+ only */
 #define MSR_BBL_CR_DECC                0x118   /* PII+ only */



Home | Main Index | Thread Index | Old Index