target/arm: don't bother with id_aa64pfr0_read for USER_ONLY
authorAlex Bennée <alex.bennee@linaro.org>
Mon, 16 Mar 2020 17:21:46 +0000 (17:21 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Tue, 17 Mar 2020 17:38:38 +0000 (17:38 +0000)
commit976b99b6ec2e15cd7c36d72fdb9b60c37c5494f8
tree269b85a386b1df923070cb2da0979add39131b1e
parentd12379c5980d53e69468db0965d8915064727b85
target/arm: don't bother with id_aa64pfr0_read for USER_ONLY

For system emulation we need to check the state of the GIC before we
report the value. However this isn't relevant to exporting of the
value to linux-user and indeed breaks the exported value as set by
modify_arm_cp_regs.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200316172155.971-20-alex.bennee@linaro.org>
target/arm/helper.c