2024-05-25 04:35:44

by Oscar Salvador

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

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 <[email protected]>

Reviewed-by: Oscar Salvador <[email protected]>

--
Oscar Salvador
SUSE Labs