Re: [PATCH v2] target/arm: Allow user-mode code to write CPSR.E via MSR

2020-05-21 Thread Peter Maydell
On Mon, 18 May 2020 at 15:28, Peter Maydell wrote: > > Using the MSR instruction to write to CPSR.E is deprecated, but it is > required to work from any mode including unprivileged code. We were > incorrectly forbidding usermode code from writing it because > CPSR_USER did not include the CPSR_E

Re: [PATCH v2] target/arm: Allow user-mode code to write CPSR.E via MSR

2020-05-19 Thread Richard Henderson
On 5/18/20 7:28 AM, Peter Maydell wrote: > Using the MSR instruction to write to CPSR.E is deprecated, but it is > required to work from any mode including unprivileged code. We were > incorrectly forbidding usermode code from writing it because > CPSR_USER did not include the CPSR_E bit. > > We