]> 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)
commitce7ff8a076db92618f35c6d021eac870b44115a3
tree0c0c995d21464ad8af5528fcb71c7a732a967cd3
parent5152040a18aa33f5b9ed9f6313c56a93384d7242
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