Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/cortex Adjust some of IPLs of various IPIs.



details:   https://anonhg.NetBSD.org/src/rev/fc81420d8cec
branches:  trunk
changeset: 809715:fc81420d8cec
user:      matt <matt%NetBSD.org@localhost>
date:      Wed Jul 29 04:59:48 2015 +0000

description:
Adjust some of IPLs of various IPIs.

diffstat:

 sys/arch/arm/cortex/gic.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (35 lines):

diff -r 226d1d2c8096 -r fc81420d8cec sys/arch/arm/cortex/gic.c
--- a/sys/arch/arm/cortex/gic.c Wed Jul 29 00:12:27 2015 +0000
+++ b/sys/arch/arm/cortex/gic.c Wed Jul 29 04:59:48 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: gic.c,v 1.19 2015/04/15 15:45:06 matt Exp $    */
+/*     $NetBSD: gic.c,v 1.20 2015/07/29 04:59:48 matt Exp $    */
 /*-
  * Copyright (c) 2012 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -34,7 +34,7 @@
 #define _INTR_PRIVATE
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gic.c,v 1.19 2015/04/15 15:45:06 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gic.c,v 1.20 2015/07/29 04:59:48 matt Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -612,13 +612,13 @@
 #ifdef MULTIPROCESSOR
        intr_establish(ARMGIC_SGI_IPIBASE + IPI_AST, IPL_VM,
            IST_MPSAFE | IST_EDGE, pic_ipi_ast, (void *)-1);
-       intr_establish(ARMGIC_SGI_IPIBASE + IPI_XCALL, IPL_VM,
+       intr_establish(ARMGIC_SGI_IPIBASE + IPI_XCALL, IPL_HIGH,
            IST_MPSAFE | IST_EDGE, pic_ipi_xcall, (void *)-1);
-       intr_establish(ARMGIC_SGI_IPIBASE + IPI_GENERIC, IPL_VM,
+       intr_establish(ARMGIC_SGI_IPIBASE + IPI_GENERIC, IPL_HIGH,
            IST_MPSAFE | IST_EDGE, pic_ipi_generic, (void *)-1);
        intr_establish(ARMGIC_SGI_IPIBASE + IPI_NOP, IPL_VM,
            IST_MPSAFE | IST_EDGE, pic_ipi_nop, (void *)-1);
-       intr_establish(ARMGIC_SGI_IPIBASE + IPI_SHOOTDOWN, IPL_VM,
+       intr_establish(ARMGIC_SGI_IPIBASE + IPI_SHOOTDOWN, IPL_SCHED,
            IST_MPSAFE | IST_EDGE, pic_ipi_shootdown, (void *)-1);
 #ifdef DDB
        intr_establish(ARMGIC_SGI_IPIBASE + IPI_DDB, IPL_HIGH,



Home | Main Index | Thread Index | Old Index