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 Disable errata #1091. We are the only OS to...



details:   https://anonhg.NetBSD.org/src/rev/255df2d6ca27
branches:  trunk
changeset: 451362:255df2d6ca27
user:      maxv <maxv%NetBSD.org@localhost>
date:      Sat May 18 07:49:31 2019 +0000

description:
Disable errata #1091. We are the only OS to apply it, and it seems to be
causing trouble to VirtualBox (PR/54143).

diffstat:

 sys/arch/x86/x86/errata.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r beedd8d3c257 -r 255df2d6ca27 sys/arch/x86/x86/errata.c
--- a/sys/arch/x86/x86/errata.c Sat May 18 07:33:10 2019 +0000
+++ b/sys/arch/x86/x86/errata.c Sat May 18 07:49:31 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: errata.c,v 1.25 2018/08/12 05:43:42 maxv Exp $ */
+/*     $NetBSD: errata.c,v 1.26 2019/05/18 07:49:31 maxv Exp $ */
 
 /*-
  * Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -45,7 +45,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: errata.c,v 1.25 2018/08/12 05:43:42 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: errata.c,v 1.26 2019/05/18 07:49:31 maxv Exp $");
 
 #include <sys/types.h>
 #include <sys/systm.h>
@@ -341,6 +341,7 @@
                1049, FALSE, MSR_FP_CFG, x86_errata_set13,
                x86_errata_setmsr, FP_CFG_ERRATA_1049
        },
+#if 0  /* Should we apply this errata? The other OSes don't. */
        /*
         * 1091: Address Boundary Crossing Load Operation May Receive
         * Stale Data
@@ -349,6 +350,7 @@
                1091, FALSE, MSR_LS_CFG2, x86_errata_set13,
                x86_errata_setmsr, LS_CFG2_ERRATA_1091
        },
+#endif
        /*
         * 1095: Potential Violation of Read Ordering In Lock Operation
         * In SMT (Simultaneous Multithreading) Mode



Home | Main Index | Thread Index | Old Index