Re: [PATCH v2 05/14] target/arm: Update MSR access for PAN

2020-02-03 Thread Alex Bennée
Richard Henderson writes: > 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. > > Since v8.0, the CPSR_RESERVED bits have been allocated. > We are not yet implementing ARMv8.0-SSBS or ARMv8.4-DIT, > so retain CP

[PATCH v2 05/14] target/arm: Update MSR access for PAN

2020-02-01 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. Since v8.0, the CPSR_RESERVED bits have been allocated. We are not yet implementing ARMv8.0-SSBS or ARMv8.4-DIT, so retain CPSR_RESERVED for now, so that the bits remai