Files
linux/arch/mips
Thomas Bogendoerfer 50c25ee97c Revert "MIPS: make userspace mapping young by default"
This reverts commit f685a533a7.

The MIPS cache flush logic needs to know whether the mapping was already
established to decide how to flush caches.  This is done by checking the
valid bit in the PTE.  The commit above breaks this logic by setting the
valid in the PTE in new mappings, which causes kernel crashes.

Link: https://lkml.kernel.org/r/[email protected]
Fixes: f685a533a7 ("MIPS: make userspace mapping young by default")
Reported-by: Zhou Yanjie <[email protected]>
Signed-off-by: Thomas Bogendoerfer <[email protected]>
Cc: Huang Pei <[email protected]>
Cc: Nicholas Piggin <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2021-06-05 08:58:11 -07:00
..
2021-03-10 15:18:40 +01:00
2021-01-22 11:40:00 +01:00
2020-09-16 22:40:58 +02:00
2021-01-22 11:40:00 +01:00