]> git.proxmox.com Git - mirror_qemu.git/commit
target/arm: Split helper_msr_i_pstate into 3
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 1 Mar 2019 20:04:55 +0000 (12:04 -0800)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 5 Mar 2019 15:55:08 +0000 (15:55 +0000)
commitff730e9666a716b669ac4a8ca7c521177d1d2b15
tree2e77ada8f7f17180307dda34c33207d087e79dd7
parentcb570bd318beb2ecce83cabf8016dacceb824dce
target/arm: Split helper_msr_i_pstate into 3

The EL0+UMA check is unique to DAIF.  While SPSel had avoided the
check by nature of already checking EL >= 1, the other post v8.0
extensions to MSR (imm) allow EL0 and do not require UMA.  Avoid
the unconditional write to pc and use raise_exception_ra to unwind.

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