dev-arm, fastmodel: Rewrite Gic.interruptCells
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Fri, 16 Oct 2020 10:09:44 +0000 (11:09 +0100)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Sat, 17 Oct 2020 10:21:08 +0000 (10:21 +0000)
commit007f2d9533632ffd22e9e1454dabce00e16670b9
treeeae3c25892e443a27c65bebec2b332eb1e07acc8
parent1c5bbb6e1ae857aebc611341831e634a5ef21db7
dev-arm, fastmodel: Rewrite Gic.interruptCells

The affinity number (aka PPI partition) is used differently
in GICv2 and GICv3. In GICv2 it is ORed to the triggering type
(3rd cell), whereas it is encoded in the 4th cell in GICv3

Change-Id: I36e45d4ec5fb39befa1a271b531dfed2d8e56c10
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/36235
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/arm/fastmodel/GIC/FastModelGIC.py
src/dev/arm/Gic.py