diff options
| author | Jerome Forissier | 2022-10-04 09:23:54 +0200 |
|---|---|---|
| committer | Peter Maydell | 2022-10-10 15:52:23 +0200 |
| commit | 06f2adccfa26be55237ac966c376a42c52efb299 (patch) | |
| tree | c4bc2f969cdd3058c5b6fae0d4b1296f182ea7e7 /docs | |
| parent | target/arm/kvm: Retry KVM_CREATE_VM call if it fails EINTR (diff) | |
| download | qemu-06f2adccfa26be55237ac966c376a42c52efb299.tar.gz qemu-06f2adccfa26be55237ac966c376a42c52efb299.tar.xz qemu-06f2adccfa26be55237ac966c376a42c52efb299.zip | |
target/arm: allow setting SCR_EL3.EnTP2 when FEAT_SME is implemented
Updates write_scr() to allow setting SCR_EL3.EnTP2 when FEAT_SME is
implemented. SCR_EL3 being a 64-bit register, valid_mask is changed
to uint64_t and the SCR_* constants in target/arm/cpu.h are extended
to 64-bit so that masking and bitwise not (~) behave as expected.
This enables booting Linux with Trusted Firmware-A at EL3 with
"-M virt,secure=on -cpu max".
Cc: qemu-stable@nongnu.org
Fixes: 78cb9776662a ("target/arm: Enable SME for -cpu max")
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20221004072354.27037-1-jerome.forissier@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
