From: Giacomo Travaglini Date: Fri, 23 Aug 2019 13:34:20 +0000 (+0100) Subject: dev-arm: Writing GICD_CTLR should trigger an update X-Git-Tag: v19.0.0.0~587 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cad88af5bd731386201c9548ae0264640e17f3b0;p=gem5.git dev-arm: Writing GICD_CTLR should trigger an update 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 Reviewed-by: Andreas Sandberg Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/20615 Maintainer: Andreas Sandberg Tested-by: kokoro --- diff --git a/src/dev/arm/gic_v3_distributor.cc b/src/dev/arm/gic_v3_distributor.cc index 0211bec56..374a4636d 100644 --- a/src/dev/arm/gic_v3_distributor.cc +++ b/src/dev/arm/gic_v3_distributor.cc @@ -932,6 +932,8 @@ Gicv3Distributor::write(Addr addr, uint64_t data, size_t size, } } + update(); + break; default: