From cad88af5bd731386201c9548ae0264640e17f3b0 Mon Sep 17 00:00:00 2001 From: Giacomo Travaglini Date: Fri, 23 Aug 2019 14:34:20 +0100 Subject: [PATCH] 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 --- src/dev/arm/gic_v3_distributor.cc | 2 ++ 1 file changed, 2 insertions(+) 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: -- 2.30.2