Re: [PATCH] powerpc/fixmap: Fix VM debug warning on unmap

2022-01-29 Thread Michael Ellerman
On Mon, 6 Dec 2021 11:11:51 +, Christophe Leroy wrote: > Unmapping a fixmap entry is done by calling __set_fixmap() > with FIXMAP_PAGE_CLEAR as flags. > > Today, powerpc __set_fixmap() calls map_kernel_page(). > > map_kernel_page() is not happy when called a second time > for the same page.

Re: [PATCH] powerpc/fixmap: Fix VM debug warning on unmap

2022-01-20 Thread Christophe Leroy
Hi Michael, ping ? Le 06/12/2021 à 12:11, Christophe Leroy a écrit : > Unmapping a fixmap entry is done by calling __set_fixmap() > with FIXMAP_PAGE_CLEAR as flags. > > Today, powerpc __set_fixmap() calls map_kernel_page(). > > map_kernel_page() is not happy when called a second time > for the

Re: [PATCH] powerpc/fixmap: Fix VM debug warning on unmap

2021-12-07 Thread Maxime Bizon
On Mon, 2021-12-06 at 11:11 +, Christophe Leroy wrote: > > Reported-by: Maxime Bizon Tested-by: Maxime Bizon maybe stable ? I had this on 5.15 Thanks ! -- Maxime

[PATCH] powerpc/fixmap: Fix VM debug warning on unmap

2021-12-06 Thread Christophe Leroy
Unmapping a fixmap entry is done by calling __set_fixmap() with FIXMAP_PAGE_CLEAR as flags. Today, powerpc __set_fixmap() calls map_kernel_page(). map_kernel_page() is not happy when called a second time for the same page. WARNING: CPU: 0 PID: 1 at arch/powerpc/mm/pgtable.c:194