]> git.proxmox.com Git - mirror_qemu.git/commit
target/arm: Fix {fp, sve}_exception_el for VHE mode running
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 4 Feb 2022 17:04:43 +0000 (17:04 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 8 Feb 2022 10:56:27 +0000 (10:56 +0000)
commitd5a6fa2dcf9ea66cc5d0852ebeb4861423758be0
tree18d17f58e6d8f6691353d8dff0ce4796283cbdff
parent7701cee545109f737d43c73ac9d8be2523b9d54c
target/arm: Fix {fp, sve}_exception_el for VHE mode running

When HCR_EL2.E2H is set, the format of CPTR_EL2 changes to
look more like CPACR_EL1, with ZEN and FPEN fields instead
of TZ and TFP fields.

Reported-by: Zenghui Yu <yuzenghui@huawei.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20220127063428.30212-4-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/helper.c