Re: [Qemu-devel] [PATCH 4/9] armv7m: Fix condition check for taking exceptions

2017-02-15 Thread Alex Bennée
Peter Maydell writes: > The M profile condition for when we can take a pending exception or > interrupt is not the same as that for A/R profile. The code > originally copied from the A/R profile version of the > cpu_exec_interrupt function only worked by chance for the > very simple case of exc

[Qemu-devel] [PATCH 4/9] armv7m: Fix condition check for taking exceptions

2017-02-02 Thread Peter Maydell
The M profile condition for when we can take a pending exception or interrupt is not the same as that for A/R profile. The code originally copied from the A/R profile version of the cpu_exec_interrupt function only worked by chance for the very simple case of exceptions being masked by PRIMASK. Re