2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-17 01:34:00 +08:00
linux-next/arch/microblaze/mm
Al Viro a1179ac743 microblaze: fix livelock in uaccess
microblaze equivalent of 26178ec11e "x86: mm: consolidate VM_FAULT_RETRY handling"
If e.g. get_user() triggers a page fault and a fatal signal is caught, we might
end up with handle_mm_fault() returning VM_FAULT_RETRY and not doing anything
to page tables.  In such case we must *not* return to the faulting insn -
that would repeat the entire thing without making any progress; what we need
instead is to treat that as failed (user) memory access.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2023-03-02 12:32:31 -05:00
..
consistent.c microblaze: Remove noMMU code 2020-11-26 16:39:35 +01:00
fault.c microblaze: fix livelock in uaccess 2023-03-02 12:32:31 -05:00
init.c microblaze/mm: enable ARCH_HAS_VM_GET_PAGE_PROT 2022-07-17 17:14:38 -07:00
Makefile Microblaze patches for 5.11-rc1 2020-12-16 12:04:39 -08:00
mmu_context.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
pgtable.c microblaze: use is_kernel_text() helper 2021-11-09 10:02:51 -08:00