Re: [PATCH 06/11] target/arm: Update MSR access for PAN

2019-12-06 Thread Peter Maydell
On Tue, 3 Dec 2019 at 22:53, Richard Henderson wrote: > > For aarch64, there's a dedicated msr (imm, reg) insn. > For aarch32, this is done via msr to cpsr; and writes > from el0 are ignored. > > Signed-off-by: Richard Henderson > --- > target/arm/cpu.h | 2 ++ > target/arm/helper.c

[PATCH 06/11] target/arm: Update MSR access for PAN

2019-12-03 Thread Richard Henderson
For aarch64, there's a dedicated msr (imm, reg) insn. For aarch32, this is done via msr to cpsr; and writes from el0 are ignored. Signed-off-by: Richard Henderson --- target/arm/cpu.h | 2 ++ target/arm/helper.c| 22 ++ target/arm/translate-a64.c | 14 +