]> git.baikalelectronics.ru Git - kernel.git/commit
csky: Fixup FAULT_FLAG_XXX param for handle_mm_fault
authorGuo Ren <guoren@linux.alibaba.com>
Mon, 28 Dec 2020 12:08:46 +0000 (12:08 +0000)
committerGuo Ren <guoren@linux.alibaba.com>
Tue, 12 Jan 2021 01:52:41 +0000 (09:52 +0800)
commit6492f019957ea798e37bce07aa79eed38515f696
tree0c0c995d21464ad8af5528fcb71c7a732a967cd3
parent882f11b3fd3548b112574f6565c341d3f89c171d
csky: Fixup FAULT_FLAG_XXX param for handle_mm_fault

The past code only passes the FAULT_FLAG_WRITE into
handle_mm_fault and missing USER & DEFAULT & RETRY.

The patch references to arch/riscv/mm/fault.c, but there is no
FAULT_FLAG_INSTRUCTION in csky hw.

Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
arch/csky/mm/fault.c