Re: [Qemu-devel] [PATCH 05/11] target-arm: In cpsr_write() ignore mode switches from User mode

2016-02-18 Thread Sergey Fedorov
On 15.02.2016 20:22, Peter Maydell wrote: > The only case where we can attempt a cpsr_write() mode switch from > User is from the gdbstub; all other cases are handled in the > calling code (notably translate.c). Architecturally attempts to > alter the mode bits from user mode are simply ignored

[Qemu-devel] [PATCH 05/11] target-arm: In cpsr_write() ignore mode switches from User mode

2016-02-15 Thread Peter Maydell
The only case where we can attempt a cpsr_write() mode switch from User is from the gdbstub; all other cases are handled in the calling code (notably translate.c). Architecturally attempts to alter the mode bits from user mode are simply ignored (and not treated as a bad mode switch, which in v8