Re: [PATCH] powerpc/40x: Always fault when _PAGE_ACCESSED is not set

2020-11-08 Thread Michael Ellerman
On Sat, 10 Oct 2020 15:14:29 + (UTC), Christophe Leroy wrote: > The kernel expects pte_young() to work regardless of CONFIG_SWAP. > > Make sure a minor fault is taken to set _PAGE_ACCESSED when it > is not already set, regardless of the selection of CONFIG_SWAP. Applied to powerpc/fixes. [1/

[PATCH] powerpc/40x: Always fault when _PAGE_ACCESSED is not set

2020-10-10 Thread Christophe Leroy
The kernel expects pte_young() to work regardless of CONFIG_SWAP. Make sure a minor fault is taken to set _PAGE_ACCESSED when it is not already set, regardless of the selection of CONFIG_SWAP. Fixes: 2c74e2586bb9 ("powerpc/40x: Rework 40x PTE access and TLB miss") Cc: sta...@vger.kernel.org Signe