linux/arch/hexagon
Al Viro 0b92ed09cb hexagon: fix livelock in uaccess
hexagon 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.

Acked-by: Brian Cain <bcain@quicinc.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2023-03-02 12:30:21 -05:00
..
configs Merge branch 'akpm' (patches from Andrew) 2021-05-07 00:34:51 -07:00
include mm: remove kern_addr_valid() completely 2022-11-08 17:37:18 -08:00
kernel hexagon: ptrace: user_regset_copyin_ignore() always returns 0 2022-11-15 14:30:39 -08:00
lib hexagon: export raw I/O routines for modules 2021-11-20 10:35:54 -08:00
mm hexagon: fix livelock in uaccess 2023-03-02 12:30:21 -05:00
Kbuild hexagon: move core-y in arch/hexagon/Makefile to arch/hexagon/Kbuild 2021-05-26 23:11:47 +09:00
Kconfig mm/mmap: drop ARCH_HAS_VM_GET_PAGE_PROT 2022-07-17 17:14:41 -07:00
Kconfig.debug treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile kbuild: remove head-y syntax 2022-10-02 18:06:03 +09:00