Re: [Qemu-devel] [PATCH] target/arm: Correct condition for v8M callee stack push

2018-10-03 Thread Richard Henderson
On 10/2/18 9:59 AM, Peter Maydell wrote: > In v7m_exception_taken() we were incorrectly using a > "LR bit EXCRET.ES is 1" check when it should be 0 > (compare the pseudocode ExceptionTaken() function). > This meant we didn't stack the callee-saved registers > when tailchaining from a NonSecure to a

[Qemu-devel] [PATCH] target/arm: Correct condition for v8M callee stack push

2018-10-02 Thread Peter Maydell
In v7m_exception_taken() we were incorrectly using a "LR bit EXCRET.ES is 1" check when it should be 0 (compare the pseudocode ExceptionTaken() function). This meant we didn't stack the callee-saved registers when tailchaining from a NonSecure to a Secure exception. Cc: qemu-sta...@nongnu.org Sign