Re: [RFC PATCH v2 14/20] powerpc/e500: Remove enc field from struct mmu_psize_def

From: Oscar Salvador
Date: Sat May 25 2024 - 00:35:45 EST


On Fri, May 17, 2024 at 09:00:08PM +0200, Christophe Leroy wrote:
> enc field is hidden behind BOOK3E_PAGESZ_XX macros, and when you look
> closer you realise that this field is nothing else than the value of
> shift minus ten.
>
> So remove enc field and calculate tsize from shift field.
>
> Also remove inc filed which is unused.
>
> Signed-off-by: Christophe Leroy <christophe.leroy@xxxxxxxxxx>

Reviewed-by: Oscar Salvador <osalvador@xxxxxxx>

--
Oscar Salvador
SUSE Labs