On 12/6/19 7:46 AM, Peter Maydell wrote: > On Tue, 3 Dec 2019 at 02:29, Richard Henderson > <richard.hender...@linaro.org> 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 some other massive rearrangement, because SecEL2 looks as if it might need 4 new mmu_idx (secure el2&0-el0, secure el2&0-el2, secure el2&0-el2-pan, secure stage2), which would put the total at 18, which overflows the current limit of 16. r~