]> www.infradead.org Git - users/jedix/linux-maple.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)
commitb0ae5e26b863f74aeaf73684d04dfb6fb72f836c
tree822975c71512edf8a85575b8f08fd745630d5e73
parent7b513cf2bfdcdb7ba3f2b6e83f0e17e0793825d7
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