Module Name: src
Committed By: maxv
Date: Sat May 18 07:49:31 UTC 2019
Modified Files:
src/sys/arch/x86/x86: errata.c
Log Message:
Disable errata #1091. We are the only OS to apply it, and it seems to be
causing trouble to VirtualBox (PR/54143).
To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sys/arch/x86/x86/errata.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/x86/x86/errata.c
diff -u src/sys/arch/x86/x86/errata.c:1.25 src/sys/arch/x86/x86/errata.c:1.26
--- src/sys/arch/x86/x86/errata.c:1.25 Sun Aug 12 05:43:42 2018
+++ src/sys/arch/x86/x86/errata.c Sat May 18 07:49:31 2019
@@ -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 @@ static errata_t errata[] = {
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 @@ static errata_t errata[] = {
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