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/e31d1e5643d3
branches:  trunk
changeset: 956538:e31d1e5643d3
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 e520a61b11d3 -r e31d1e5643d3 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