]> git.baikalelectronics.ru Git - kernel.git/commit
csky: Remove prologue of page fault handler in entry.S
authorGuo Ren <guoren@linux.alibaba.com>
Thu, 24 Dec 2020 02:02:55 +0000 (02:02 +0000)
committerGuo Ren <guoren@linux.alibaba.com>
Tue, 12 Jan 2021 01:52:40 +0000 (09:52 +0800)
commitec03854f46bd2ef3c62862be5b6ffe641d59176f
tree822975c71512edf8a85575b8f08fd745630d5e73
parent56eba8c7f00586098f9a436e353edd432a3a1e38
csky: Remove prologue of page fault handler in entry.S

There is a prologue on page fault handler which marking pages dirty
and/or accessed in page attributes, but all of these have been
handled in handle_pte_fault.

 - Add flush_tlb_one in vmalloc page fault instead of prologue.
 - Using cmxchg_fixup C codes in do_page_fault instead of ASM one.

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