dev-arm: optional instantiation of GICv3 ITS
authorAdrian Herrera <adrian.herrera@arm.com>
Wed, 9 Oct 2019 16:58:19 +0000 (17:58 +0100)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Tue, 5 Nov 2019 09:27:30 +0000 (09:27 +0000)
commitd57b8ba34ef233855688fcba824679fcdcaceeef
tree3eeb4b84f8d41603544333976d9fb3cfc73976ac
parent0a276fb4bb41f43ada306248e3d9a80e0a7e8140
dev-arm: optional instantiation of GICv3 ITS

GICv3 ITS is an optional component of GICv3. The previous behaviour
was for a stub ITS to be created by default, which resulted in a crash
for use cases where a GICv3 with no ITS is required.
This patch removes the instantiation of the ITS by default and adds
checks for its presence both in initialization and device tree
generation code.

Change-Id: Id424924c8c1152d512aaa2837de4aa60329ec234
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/22423
Reviewed-by: Ciro Santilli <ciro.santilli@arm.com>
Maintainer: Giacomo Travaglini <giacomo.travaglini@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/dev/arm/Gic.py
src/dev/arm/gic_v3.cc