Commit 1152244
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: 84de6ab ("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.eu1 parent 1344a23 commit 1152244
1 file changed
Lines changed: 0 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
457 | 457 | | |
458 | 458 | | |
459 | 459 | | |
460 | | - | |
461 | 460 | | |
462 | | - | |
463 | | - | |
464 | | - | |
465 | 461 | | |
466 | 462 | | |
467 | 463 | | |
| |||
523 | 519 | | |
524 | 520 | | |
525 | 521 | | |
526 | | - | |
527 | 522 | | |
528 | | - | |
529 | | - | |
530 | | - | |
531 | 523 | | |
532 | 524 | | |
533 | 525 | | |
| |||
603 | 595 | | |
604 | 596 | | |
605 | 597 | | |
606 | | - | |
607 | 598 | | |
608 | | - | |
609 | | - | |
610 | | - | |
611 | 599 | | |
612 | 600 | | |
613 | 601 | | |
| |||
0 commit comments