]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/arm: Update MSR access for PAN
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 8 Feb 2020 12:58:07 +0000 (12:58 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 13 Feb 2020 14:14:54 +0000 (14:14 +0000)
commit220f508f49c5f49fb771d5105f991c19ffede3f7
treebfde4090bbd35912c5b5195e0e0a77cf0f2d8d10
parent140845111809cd6fd57ccde93867b48cc56ffc74
target/arm: Update MSR access for PAN

For aarch64, there's a dedicated msr (imm, reg) insn.
For aarch32, this is done via msr to cpsr.  Writes from el0
are ignored, which is already handled by the CPSR_USER mask.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20200208125816.14954-12-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/cpu.h
target/arm/helper.c
target/arm/internals.h
target/arm/translate-a64.c