[Qemu-devel] [PATCH v2] target-arm: Use the right MMU index in arm_regime_using_lpae_format

2016-01-15 Thread Alvise Rigo
arm_regime_using_lpae_format checks whether the LPAE extension is used for stage 1 translation regimes. MMU indexes not exclusively of a stage 1 regime won't work with this method. In case of ARMMMUIdx_S12NSE0 or ARMMMUIdx_S12NSE1, offset these values by ARMMMUIdx_S1NSE0 to get the right index

Re: [Qemu-devel] [PATCH v2] target-arm: Use the right MMU index in arm_regime_using_lpae_format

2016-01-15 Thread Peter Maydell
On 15 January 2016 at 10:37, Alvise Rigo wrote: > arm_regime_using_lpae_format checks whether the LPAE extension is used > for stage 1 translation regimes. MMU indexes not exclusively of a stage 1 > regime won't work with this method. > > In case of