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

Oscar Salvador
2024-05-25T04:35:36Z

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@csgroup.eu>

Reviewed-by: Oscar Salvador <osalvador@suse.de>

--
Oscar Salvador
SUSE Labs