dev-arm: Fix Bitwise operation in GICv3
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Tue, 23 Apr 2019 15:08:14 +0000 (16:08 +0100)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Thu, 2 May 2019 12:44:13 +0000 (12:44 +0000)
commit9de1f75f16ecde72856965844ed4bbeb62c33224
tree5deb1baa0fd2b074666454c2cca08fe14e31674a
parent308a06c1d7ec5370e2f2f3a872951e9cac6fd65f
dev-arm: Fix Bitwise operation in GICv3

GICv3 LPI code is wrongly using the xor operator (^) in order to
evaluate powers of two.

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