Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/aarch64/aarch64 revert previous; user reports of pa...



details:   https://anonhg.NetBSD.org/src/rev/70ea23af980b
branches:  trunk
changeset: 959547:70ea23af980b
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Thu Feb 18 11:23:15 2021 +0000

description:
revert previous; user reports of panics under load

diffstat:

 sys/arch/aarch64/aarch64/trap.c |  9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diffs (30 lines):

diff -r caeaab2541bb -r 70ea23af980b sys/arch/aarch64/aarch64/trap.c
--- a/sys/arch/aarch64/aarch64/trap.c   Wed Feb 17 23:51:04 2021 +0000
+++ b/sys/arch/aarch64/aarch64/trap.c   Thu Feb 18 11:23:15 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: trap.c,v 1.42 2021/02/15 17:46:36 jmcneill Exp $ */
+/* $NetBSD: trap.c,v 1.43 2021/02/18 11:23:15 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(1, "$NetBSD: trap.c,v 1.42 2021/02/15 17:46:36 jmcneill Exp $");
+__KERNEL_RCSID(1, "$NetBSD: trap.c,v 1.43 2021/02/18 11:23:15 jmcneill Exp $");
 
 #include "opt_arm_intr_impl.h"
 #include "opt_compat_netbsd32.h"
@@ -521,10 +521,7 @@
        ARM_IRQ_HANDLER(tf);
        ci->ci_intr_depth--;
 
-       if (ci->ci_intr_depth == 0 && (ci->ci_softints >> ci->ci_cpl) > 0) {
-               ENABLE_INTERRUPT();
-               cpu_dosoftints();
-       }
+       cpu_dosoftints();
 }
 
 #ifdef COMPAT_NETBSD32



Home | Main Index | Thread Index | Old Index