From: Giacomo Travaglini Date: Wed, 4 Sep 2019 14:44:33 +0000 (+0100) Subject: dev-arm: Reset HPPI when clearing an LPI X-Git-Tag: v19.0.0.0~559 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a04da61ce1b8fa131da08894e1beaf7b81771f8e;p=gem5.git dev-arm: Reset HPPI when clearing an LPI Change-Id: I2a69e6cef69aa48d7c265d59915b859e5eac2bcc Signed-off-by: Giacomo Travaglini Reviewed-by: Andreas Sandberg Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/20638 Tested-by: kokoro Maintainer: Andreas Sandberg --- diff --git a/src/dev/arm/gic_v3_redistributor.cc b/src/dev/arm/gic_v3_redistributor.cc index 8b6233c22..11a1f9d3e 100644 --- a/src/dev/arm/gic_v3_redistributor.cc +++ b/src/dev/arm/gic_v3_redistributor.cc @@ -928,6 +928,9 @@ Gicv3Redistributor::setClrLPI(uint64_t data, bool set) } lpi_pending_entry &= ~(1 << (lpi_pending_entry_bit_position)); + + // Remove the pending state from the cpu interface + cpuInterface->resetHppi(lpi_id); } writeEntryLPI(lpi_id, lpi_pending_entry);