On 11/3/20 8:43 PM, Alistair Francis wrote: > -#define NB_MMU_MODES 4 > +/* > + * The current MMU Modes are: > + * - U mode 0b000 > + * - S mode 0b001 > + * - M mode 0b011 > + * - U mode HLV/HLVX/HSV 0b100 > + * - S mode HLV/HLVX/HSV 0b101 > + * - M mode HLV/HLVX/HSV 0b111 > + */ > +#define NB_MMU_MODES 6
6 modes, but you're leaving two holes, so you need 8 here. Otherwise, Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~