Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mips/mips Don't need the errata workaround on user ...
details: https://anonhg.NetBSD.org/src/rev/9152788a9b1b
branches: trunk
changeset: 355885:9152788a9b1b
user: maya <maya%NetBSD.org@localhost>
date: Sun Aug 20 09:21:54 2017 +0000
description:
Don't need the errata workaround on user return
It's reported that the MMU will block such invalid reads in userland,
and it's only needed on entry.
diffstat:
sys/arch/mips/mips/mipsX_subr.S | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
diffs (20 lines):
diff -r b4b432313fb7 -r 9152788a9b1b sys/arch/mips/mips/mipsX_subr.S
--- a/sys/arch/mips/mips/mipsX_subr.S Sun Aug 20 09:00:15 2017 +0000
+++ b/sys/arch/mips/mips/mipsX_subr.S Sun Aug 20 09:21:54 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mipsX_subr.S,v 1.102 2017/08/08 09:34:59 maya Exp $ */
+/* $NetBSD: mipsX_subr.S,v 1.103 2017/08/20 09:21:54 maya Exp $ */
/*
* Copyright 2002 Wasabi Systems, Inc.
@@ -2655,10 +2655,6 @@
REG_L s6, CALLFRAME_SIZ+TF_REG_S6(sp) # $22
REG_L s7, CALLFRAME_SIZ+TF_REG_S7(sp) # $23
REG_L s8, CALLFRAME_SIZ+TF_REG_S8(sp) # $30
-#ifdef MIPS3_LOONGSON2
- li t0, (MIPS_DIAG_ITLB_CLEAR | MIPS_DIAG_BTB_CLEAR | MIPS_DIAG_RAS_DISABLE)
- mtc0 t0, MIPS_COP_0_DIAG
-#endif
MIPSX(user_intr_return):
#ifdef PARANOIA
PTR_L t0, L_CPU(MIPS_CURLWP)
Home |
Main Index |
Thread Index |
Old Index