diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2018-08-14 17:17:22 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2018-08-14 17:17:22 +0100 |
commit | 89b1fec193b81b6ad0bd2975f2fa179980cc722e (patch) | |
tree | bb2e45ecc22625b93f969f3a47224df915db155b /target/arm/kvm32.c | |
parent | b8109608bc6f3337298d44ac4369bf0bc8c3a1e4 (diff) | |
download | qemu-89b1fec193b81b6ad0bd2975f2fa179980cc722e.zip qemu-89b1fec193b81b6ad0bd2975f2fa179980cc722e.tar.gz qemu-89b1fec193b81b6ad0bd2975f2fa179980cc722e.tar.bz2 |
target/arm: Restore M-profile CONTROL.SPSEL before any tailchaining
On exception return for M-profile, we must restore the CONTROL.SPSEL
bit from the EXCRET value before we do any kind of tailchaining,
including for the derived exceptions on integrity check failures.
Otherwise we will give the guest an incorrect EXCRET.SPSEL value on
exception entry for the tailchained exception.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20180720145647.8810-4-peter.maydell@linaro.org
Diffstat (limited to 'target/arm/kvm32.c')
0 files changed, 0 insertions, 0 deletions