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 AMD MSR_DE_CFG's bit 1 as DE_CFG_LF...



details:   https://anonhg.NetBSD.org/src/rev/8eade1383308
branches:  trunk
changeset: 933587:8eade1383308
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Thu May 28 07:59:38 2020 +0000

description:
Add AMD MSR_DE_CFG's bit 1 as DE_CFG_LFENCE_SERIALIZE.
This bit makes lfence instruction serializing.

diffstat:

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

diffs (17 lines):

diff -r 6bcbdee867b7 -r 8eade1383308 sys/arch/x86/include/specialreg.h
--- a/sys/arch/x86/include/specialreg.h Thu May 28 04:51:44 2020 +0000
+++ b/sys/arch/x86/include/specialreg.h Thu May 28 07:59:38 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: specialreg.h,v 1.164 2020/05/01 04:07:24 msaitoh Exp $ */
+/*     $NetBSD: specialreg.h,v 1.165 2020/05/28 07:59:38 msaitoh Exp $ */
 
 /*
  * Copyright (c) 2014-2019 The NetBSD Foundation, Inc.
@@ -1121,6 +1121,7 @@
 
 #define MSR_DE_CFG     0xc0011029
 #define        DE_CFG_ERRATA_721       0x00000001
+#define        DE_CFG_LFENCE_SERIALIZE __BIT(1)
 #define        DE_CFG_ERRATA_1021      __BIT(13)
 
 #define MSR_BU_CFG2    0xc001102a



Home | Main Index | Thread Index | Old Index