Re: [Qemu-devel] [PATCH v4 03/22] target/arm: Add MTE system registers

2019-03-08 Thread Laurent Desnogues
On Fri, Mar 8, 2019 at 11:31 AM Laurent Desnogues wrote: > > Hello, > > On Thu, Mar 7, 2019 at 6:09 PM Richard Henderson > wrote: [...] > > +static CPAccessResult access_mte(CPUARMState *env, const ARMCPRegInfo *ri, > > + bool isread) > > +{ > > +int el = arm_c

Re: [Qemu-devel] [PATCH v4 03/22] target/arm: Add MTE system registers

2019-03-08 Thread Laurent Desnogues
Hello, On Thu, Mar 7, 2019 at 6:09 PM Richard Henderson wrote: > > This is TFSRE0_EL1, TFSR_EL1, TFSR_EL2, TFSR_EL3, > RGSR_EL1, GCR_EL1, GMID_EL1, and PSTATE.TCO. > > Signed-off-by: Richard Henderson > --- > v3: Add GMID; add access_mte. > --- > target/arm/cpu.h | 3 ++ > target/arm

[Qemu-devel] [PATCH v4 03/22] target/arm: Add MTE system registers

2019-03-07 Thread Richard Henderson
This is TFSRE0_EL1, TFSR_EL1, TFSR_EL2, TFSR_EL3, RGSR_EL1, GCR_EL1, GMID_EL1, and PSTATE.TCO. Signed-off-by: Richard Henderson --- v3: Add GMID; add access_mte. --- target/arm/cpu.h | 3 ++ target/arm/internals.h | 6 target/arm/helper.c| 66