Re: [PATCH] powerpc/8xx: Fix pinned TLBs with CONFIG_STRICT_KERNEL_RWX

2021-11-17 Thread Michael Ellerman
On Mon, 15 Nov 2021 09:08:36 +0100, Christophe Leroy wrote: > As spotted and explained in commit c12ab8dbc492 ("powerpc/8xx: Fix > Oops with STRICT_KERNEL_RWX without DEBUG_RODATA_TEST"), the selection > of STRICT_KERNEL_RWX without selecting DEBUG_RODATA_TEST has spotted > the lack of the DIRTY bi

[PATCH] powerpc/8xx: Fix pinned TLBs with CONFIG_STRICT_KERNEL_RWX

2021-11-15 Thread Christophe Leroy
As spotted and explained in commit c12ab8dbc492 ("powerpc/8xx: Fix Oops with STRICT_KERNEL_RWX without DEBUG_RODATA_TEST"), the selection of STRICT_KERNEL_RWX without selecting DEBUG_RODATA_TEST has spotted the lack of the DIRTY bit in the pinned kernel data TLBs. This problem should have been det