diff options
author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2020-10-10 15:14:30 +0000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-11-05 23:34:07 +1100 |
commit | 11522448e641e8f1690c9db06e01985e8e19b401 (patch) | |
tree | 6a96577e173b5500934664a609a3c8eeb48fb953 /drivers/dma/tegra210-adma.c | |
parent | 1344a232016dbb0492be81f8517c4bf8fc1c6610 (diff) |
powerpc/603: Always fault when _PAGE_ACCESSED is not set
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: stable@vger.kernel.org
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/a44367744de54e2315b2f1a8cbbd7f88488072e0.1602342806.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'drivers/dma/tegra210-adma.c')
0 files changed, 0 insertions, 0 deletions