Re: [PATCH 1/2] powerpc: Refactor __kernel_map_pages()

2024-03-13 Thread Michael Ellerman
On Fri, 16 Feb 2024 11:17:33 +0100, Christophe Leroy wrote: > __kernel_map_pages() is almost identical for PPC32 and RADIX. > > Refactor it. > > On PPC32 it is not needed for KFENCE, but to keep it simple > just make it similar to PPC64. > > [...] Applied to powerpc/next. [1/2] powerpc: Refact

Re: [PATCH 1/2] powerpc: Refactor __kernel_map_pages()

2024-02-22 Thread Michael Ellerman
Christophe Leroy writes: > Le 22/02/2024 à 06:32, Michael Ellerman a écrit : >> Christophe Leroy writes: >>> __kernel_map_pages() is almost identical for PPC32 and RADIX. >>> >>> Refactor it. >>> >>> On PPC32 it is not needed for KFENCE, but to keep it simple >>> just make it similar to PPC64. >>

Re: [PATCH 1/2] powerpc: Refactor __kernel_map_pages()

2024-02-22 Thread Christophe Leroy
Le 22/02/2024 à 06:32, Michael Ellerman a écrit : > Christophe Leroy writes: >> __kernel_map_pages() is almost identical for PPC32 and RADIX. >> >> Refactor it. >> >> On PPC32 it is not needed for KFENCE, but to keep it simple >> just make it similar to PPC64. >> >> Signed-off-by: Christophe Ler

Re: [PATCH 1/2] powerpc: Refactor __kernel_map_pages()

2024-02-21 Thread Michael Ellerman
Christophe Leroy writes: > __kernel_map_pages() is almost identical for PPC32 and RADIX. > > Refactor it. > > On PPC32 it is not needed for KFENCE, but to keep it simple > just make it similar to PPC64. > > Signed-off-by: Christophe Leroy > --- > arch/powerpc/include/asm/book3s/64/pgtable.h | 10