Evgeny Iakovlev 08899b5c68 target/arm: allow writes to SCR_EL3.HXEn bit when FEAT_HCX is enabled
ARM trusted firmware, when built with FEAT_HCX support, sets SCR_EL3.HXEn bit
to allow EL2 to modify HCRX_EL2 register without trapping it in EL3. Qemu
uses a valid mask to clear unsupported SCR_EL3 bits when emulating SCR_EL3
write, and that mask doesn't include SCR_EL3.HXEn bit even if FEAT_HCX is
enabled and exposed to the guest. As a result EL3 writes of that bit are
ignored.

Cc: qemu-stable@nongnu.org
Signed-off-by: Evgeny Iakovlev <eiakovlev@linux.microsoft.com>
Message-id: 20230105221251.17896-4-eiakovlev@linux.microsoft.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2023-01-13 13:19:36 +00:00
..
2023-01-05 12:28:37 +00:00
2023-01-05 11:51:09 +00:00
2022-10-20 11:28:29 +01:00
2022-12-16 15:58:15 +00:00
2023-01-05 12:28:37 +00:00
2023-01-05 11:51:09 +00:00
2022-07-11 13:43:51 +01:00
2022-07-11 13:43:51 +01:00
2022-09-14 11:19:40 +01:00
2023-01-05 11:51:09 +00:00
2023-01-05 11:51:09 +00:00
2023-01-12 16:50:19 +00:00
2022-06-27 11:18:17 +01:00
2022-10-20 11:28:29 +01:00