dev-arm: Writing GICD_CTLR should trigger an update
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Fri, 23 Aug 2019 13:34:20 +0000 (14:34 +0100)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Fri, 6 Sep 2019 11:53:49 +0000 (11:53 +0000)
This is the case where an interrupt is pending, but the distributor is
masking it. As soon as the group gets enabled, the interrupt should be
forwarded to the PE.

Change-Id: Ie428780bde7e4726688adf78dfcc4d43d1b45261
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/20615
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/dev/arm/gic_v3_distributor.cc

index 0211bec561f9f05aab4245e632e2041cb7af10bd..374a4636d9f898ea99aeae5b8f6c145bf60f922d 100644 (file)
@@ -932,6 +932,8 @@ Gicv3Distributor::write(Addr addr, uint64_t data, size_t size,
             }
         }
 
+        update();
+
         break;
 
       default: