| e58a41c2 | 21-Apr-2021 |
Guo Ren <[email protected]> |
csky: uaccess.h: Coding convention with asm generic
Using asm-generic/uaccess.h to prevent duplicated code: - Add user_addr_max which mentioned in generic uaccess.h - Remove custom definitions of
csky: uaccess.h: Coding convention with asm generic
Using asm-generic/uaccess.h to prevent duplicated code: - Add user_addr_max which mentioned in generic uaccess.h - Remove custom definitions of KERNEL/USER_DS, get/set_fs, uaccess_kerenl - Using generic extable.h instead of custom definitions in uaccess.h
Change v2: - Fixup tinyconfig compile error, "__put_user_bad" - Add __get_user_asm_64
Signed-off-by: Guo Ren <[email protected]> Link: https://lore.kernel.org/linux-csky/CAK8P3a1DvsXSEDoovLk11hzNHyJi7vqNoToU+n5aFi2viZO_Uw@mail.gmail.com/T/#mbcd58a0e3450e5598974116b607589afa16a3ab7 Cc: Arnd Bergmann <[email protected]>
show more ...
|
| e26db7ad | 30-Dec-2020 |
Guo Ren <[email protected]> |
csky: mm: abort uaccess retries upon fatal signal
Pick up the patch from the 'Link' made by Mark Rutland. Keep the same with x86, arm, arm64, arc, sh, power.
Link: https://lore.kernel.org/linux-arm
csky: mm: abort uaccess retries upon fatal signal
Pick up the patch from the 'Link' made by Mark Rutland. Keep the same with x86, arm, arm64, arc, sh, power.
Link: https://lore.kernel.org/linux-arm-kernel/[email protected]/ Signed-off-by: Guo Ren <[email protected]> Cc: Mark Rutland <[email protected]>
show more ...
|
| bd0bf90e | 29-Dec-2020 |
Guo Ren <[email protected]> |
csky: Sync riscv mm/fault.c for easy maintenance
Sync arch/riscv/mm/fault.c into arch/csky for easy maintenance. Here are the patches related to the modification:
cac4d1d "riscv/mm/fault: Move no c
csky: Sync riscv mm/fault.c for easy maintenance
Sync arch/riscv/mm/fault.c into arch/csky for easy maintenance. Here are the patches related to the modification:
cac4d1d "riscv/mm/fault: Move no context handling to no_context()" ac416a7 "riscv/mm/fault: Move vmalloc fault handling to vmalloc_fault()" 6c11ffb "riscv/mm/fault: Move fault error handling to mm_fault_error()" afb8c6f "riscv/mm/fault: Move access error check to function" bda281d "riscv/mm/fault: Simplify fault error handling" a51271d "riscv/mm/fault: Move bad area handling to bad_area()"
Signed-off-by: Guo Ren <[email protected]> Cc: Pekka Enberg <[email protected]> Cc: Palmer Dabbelt <[email protected]> Cc: Arnd Bergmann <[email protected]>
show more ...
|
| 78bfa70b | 28-Dec-2020 |
Guo Ren <[email protected]> |
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/fa
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 <[email protected]>
show more ...
|
| b0ae5e26 | 24-Dec-2020 |
Guo Ren <[email protected]> |
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 h
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 <[email protected]>
show more ...
|