target/arm: Fix HCR_EL2.TGE check in arm_phys_excp_target_el
commit619959c3583dad325c36f09ce670e7d091382cae
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 13 Dec 2018 13:48:05 +0000 (13 13:48 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 13 Dec 2018 14:41:24 +0000 (13 14:41 +0000)
treea290e4fdf7c439aa01b151f83fec2bcff01bf30a
parent99f8f86d365701fad695be606266aa7dac97ca1c
target/arm: Fix HCR_EL2.TGE check in arm_phys_excp_target_el

The enable for TGE has already occurred within arm_hcr_el2_amo
and friends.  Moreover, when E2H is also set, the sense is
supposed to be reversed, which has also already occurred within
the helpers.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20181203203839.757-5-richard.henderson@linaro.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/helper.c