dev-arm: Fix GICv3 IGRPMOD writes
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Thu, 29 Aug 2019 13:09:30 +0000 (14:09 +0100)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Fri, 6 Sep 2019 11:53:49 +0000 (11:53 +0000)
commitc1458b5d583f6e1eca90c2246f3f2429a02383f4
tree5205a273fa4f43bc0a31b5d62d4dfb9680369f49
parentf8ac63a289a4e411e2c1779ef7ee1508de2fd329
dev-arm: Fix GICv3 IGRPMOD writes

Writes to IGRPMOD were not right shifting the value, which resulted in
interrupts having a IGRPMOD value > 1, whereas the only allowed values
are 0 and 1.

Change-Id: Id491bd1b184d6e5abeeea25ea272eeb91792ccf7
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/+/20613
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/dev/arm/gic_v3_distributor.cc