Re: [PATCH v4 09/40] target/arm: Rename ARMMMUIdx_S2NS to ARMMMUIdx_Stage2

2019-12-06 Thread Richard Henderson
On 12/6/19 7:46 AM, Peter Maydell wrote: > On Tue, 3 Dec 2019 at 02:29, Richard Henderson > wrote: >> >> The EL1&0 regime is the only one that uses 2-stage translation. > > ...now what happens when we support secure EL2 and we need a > secure stage 2 MMUIdx ? ARMMMUIdx_SStage2? Or probably

Re: [PATCH v4 09/40] target/arm: Rename ARMMMUIdx_S2NS to ARMMMUIdx_Stage2

2019-12-06 Thread Peter Maydell
On Tue, 3 Dec 2019 at 02:29, Richard Henderson wrote: > > The EL1&0 regime is the only one that uses 2-stage translation. ...now what happens when we support secure EL2 and we need a secure stage 2 MMUIdx ? thanks -- PMM

Re: [PATCH v4 09/40] target/arm: Rename ARMMMUIdx_S2NS to ARMMMUIdx_Stage2

2019-12-04 Thread Alex Bennée
Richard Henderson writes: > The EL1&0 regime is the only one that uses 2-stage translation. > > Signed-off-by: Richard Henderson Reviewed-by: Alex Bennée > --- > target/arm/cpu.h | 4 +-- > target/arm/internals.h | 2 +- > target/arm/helper.c| 57

[PATCH v4 09/40] target/arm: Rename ARMMMUIdx_S2NS to ARMMMUIdx_Stage2

2019-12-02 Thread Richard Henderson
The EL1&0 regime is the only one that uses 2-stage translation. Signed-off-by: Richard Henderson --- target/arm/cpu.h | 4 +-- target/arm/internals.h | 2 +- target/arm/helper.c| 57 -- target/arm/translate-a64.c | 2 +-