commit | a04da61ce1b8fa131da08894e1beaf7b81771f8e | [log] [tgz] |
---|---|---|
author | Giacomo Travaglini <giacomo.travaglini@arm.com> | Wed Sep 04 15:44:33 2019 +0100 |
committer | Giacomo Travaglini <giacomo.travaglini@arm.com> | Mon Sep 09 08:48:30 2019 +0000 |
tree | 748254b7b230d2d357f42a89da03fb047f858f3c | |
parent | bd2d85154865b0e9c85c91de35ec905953d5bb41 [diff] |
dev-arm: Reset HPPI when clearing an LPI Change-Id: I2a69e6cef69aa48d7c265d59915b859e5eac2bcc 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/+/20638 Tested-by: kokoro <noreply+kokoro@google.com> Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
diff --git a/src/dev/arm/gic_v3_redistributor.cc b/src/dev/arm/gic_v3_redistributor.cc index 8b6233c..11a1f9d 100644 --- a/src/dev/arm/gic_v3_redistributor.cc +++ b/src/dev/arm/gic_v3_redistributor.cc
@@ -928,6 +928,9 @@ } 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);