dev-arm: Don't panic when EOIR a non active PPI
authorAdrien Pesle <adrien.pesle@arm.com>
Fri, 12 Oct 2018 10:42:33 +0000 (12:42 +0200)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Wed, 17 Oct 2018 14:47:14 +0000 (14:47 +0000)
commite086e74a79df938351a742c0eaebff602c4ad97d
tree6bbce775be769190455e5885029e7b592ca27c3b
parent9181c2ea16d384c57e6bb4e757ecaf1b52b8e7f1
dev-arm: Don't panic when EOIR a non active PPI

GIC architecture specification says that writing EOIR with
a not active irq it is an unpredictable behavior.
So, just warn when it happens for a PPI case, like it is
already done in SPI case.

Change-Id: Icb1b8f5690d5e87b15c3b0fe2ca0d37fdd4085ee
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/13556
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
src/dev/arm/gic_v2.cc