arch-arm: Trap virtual accesses to GICv3 SGI registers
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Tue, 12 Feb 2019 13:09:18 +0000 (13:09 +0000)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Thu, 23 May 2019 08:32:25 +0000 (08:32 +0000)
commit32a23114c14cebc5ec0067ac739144b50e412219
tree1bc7685956be9cd1b6530c5a07a8232573e9992b
parente9c7c8168081e38d272e7c83e7f9503b7e8f162f
arch-arm: Trap virtual accesses to GICv3 SGI registers

According to GICv3 documentation, a virtual write (which means
HCR.IMO/FMO = 1) to ICC_SGI0R_EL1, ICC_SGI1R_EL1, ICC_ASGI1R_EL1 should
trap to EL2.

Change-Id: Ie7a952c2ff08590bb0c6e3854df567d714c2dc94
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/+/17990
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/arm/insts/misc64.cc
src/arch/arm/utility.cc