]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/arm: Update arm_sctlr for VHE
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 7 Feb 2020 14:04:24 +0000 (14:04 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 7 Feb 2020 14:04:24 +0000 (14:04 +0000)
commitaaec143212bb70ac9549cf73203d13100bd5c7c2
treef55498e65b73419c73b87afdea29063bf98d20fc
parent6003d9800ee38aa11eefb5cd64ae55abb64bef16
target/arm: Update arm_sctlr for VHE

Use the correct sctlr for EL2&0 regime.  Due to header ordering,
and where arm_mmu_idx_el is declared, we need to move the function
out of line.  Use the function in many more places in order to
select the correct control.

Tested-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20200206105448.4726-23-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/cpu.h
target/arm/helper-a64.c
target/arm/helper.c
target/arm/pauth_helper.c