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 gicv3_set_priority: ICC_PMR_EL1 is self-...



details:   https://anonhg.NetBSD.org/src/rev/01d6ada39a22
branches:  trunk
changeset: 945550:01d6ada39a22
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sun Nov 01 11:17:20 2020 +0000

description:
gicv3_set_priority: ICC_PMR_EL1 is self-synchronizing so no need for isb()
here.

diffstat:

 sys/arch/arm/cortex/gicv3.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 2a3c1e1164df -r 01d6ada39a22 sys/arch/arm/cortex/gicv3.c
--- a/sys/arch/arm/cortex/gicv3.c       Sun Nov 01 11:06:30 2020 +0000
+++ b/sys/arch/arm/cortex/gicv3.c       Sun Nov 01 11:17:20 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: gicv3.c,v 1.28 2020/11/01 11:04:55 jmcneill Exp $ */
+/* $NetBSD: gicv3.c,v 1.29 2020/11/01 11:17:20 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2018 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -31,7 +31,7 @@
 #define        _INTR_PRIVATE
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gicv3.c,v 1.28 2020/11/01 11:04:55 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gicv3.c,v 1.29 2020/11/01 11:17:20 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/kernel.h>
@@ -214,7 +214,6 @@
        struct gicv3_softc * const sc = PICTOSOFTC(pic);
 
        icc_pmr_write(IPL_TO_PMR(sc, ipl));
-       isb();
 }
 
 static void



Home | Main Index | Thread Index | Old Index