Re: [Qemu-devel] [PATCH 12/20] target/arm: Add v8M support to exception entry code

2017-10-05 Thread Richard Henderson
On 09/22/2017 10:59 AM, Peter Maydell wrote: > Add support for v8M and in particular the security extension > to the exception entry code. This requires changes to: > * calculation of the exception-return magic LR value > * push the callee-saves registers in certain cases > * clear registers whe

[Qemu-devel] [PATCH 12/20] target/arm: Add v8M support to exception entry code

2017-09-22 Thread Peter Maydell
Add support for v8M and in particular the security extension to the exception entry code. This requires changes to: * calculation of the exception-return magic LR value * push the callee-saves registers in certain cases * clear registers when taking non-secure exceptions to avoid leaking info