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

2020-11-09 Thread Christophe Leroy
[That is backport of 11522448e641e8f1690c9db06e01985e8e19b401 to linux 5.9] 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: 84de6ab0e904 ("power

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

2020-11-08 Thread Michael Ellerman
On Sat, 10 Oct 2020 15:14:30 + (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/603: 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: 84de6ab0e904 ("powerpc/603: don't handle PAGE_ACCESSED in TLB miss handlers.") Cc: sta...@vger.k