dev-arm: Set ICV_PMR_EL1-ICH_VMCR_EL2 mapping on reads
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Fri, 18 Jan 2019 09:43:52 +0000 (09:43 +0000)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Fri, 1 Mar 2019 15:20:24 +0000 (15:20 +0000)
commita7eebbfa693e3fa55c0a9c876b97adcf72662c71
tree73ba9f016573b0d08c0989d00368d8650393c283
parent5e55ecc4b5b59641c4edad3593f59ab5178e1bc2
dev-arm: Set ICV_PMR_EL1-ICH_VMCR_EL2 mapping on reads

Reading ICV_PMR_EL1 should return the value the VMCR_EL2.VPMR bits
which are aliased to the register.

Change-Id: Id3e6dfb196f3726edaa3eddb244765598ed62334
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Jan-Peter Larsson <jan-peter.larsson@arm.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/16545
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
src/dev/arm/gic_v3_cpu_interface.cc