Re: [Qemu-devel] [PATCH 04/20] target/arm: Restore security state on exception return

2017-10-05 Thread Richard Henderson
On 09/22/2017 10:59 AM, Peter Maydell wrote: > Now that we can handle the CONTROL.SPSEL bit not necessarily being > in sync with the current stack pointer, we can restore the correct > security state on exception return. This happens before we start > to read registers off the stack frame, but

[Qemu-devel] [PATCH 04/20] target/arm: Restore security state on exception return

2017-09-22 Thread Peter Maydell
Now that we can handle the CONTROL.SPSEL bit not necessarily being in sync with the current stack pointer, we can restore the correct security state on exception return. This happens before we start to read registers off the stack frame, but after we have taken possible usage faults for bad