linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next v2 0/2]riscv: some refactorings realted to uaccess and extable
@ 2022-08-15  3:20 Tong Tiangen
  2022-08-15  3:20 ` [PATCH -next v2 1/2] riscv: uaccess: rename __get/put_user_nocheck to __get/put_mem_nocheck Tong Tiangen
                   ` (2 more replies)
  0 siblings, 3 replies; 20+ messages in thread
From: Tong Tiangen @ 2022-08-15  3:20 UTC (permalink / raw)
  To: Paul Walmsley, Palmer Dabbelt, Palmer Dabbelt, Albert Ou, Conor.Dooley
  Cc: linux-riscv, linux-kernel, Tong Tiangen, wangkefeng.wang, Guohanjun

This patchset do some refactorings related to riscv's uaccess and extable,
mainly for the usage of __get/put_user_nocheck() which not distinguish user
access and kernel access.

v1 -> v2: 
  According to Conor's suggestion, split into two logically independent
  patches.

Tong Tiangen (2):
  riscv: uaccess: rename __get/put_user_nocheck to __get/put_mem_nocheck
  riscv: extable: add new extable type EX_TYPE_KACCESS_ERR_ZERO support

 arch/riscv/include/asm/asm-extable.h |  12 ++
 arch/riscv/include/asm/uaccess.h     | 162 +++++++++++++--------------
 arch/riscv/mm/extable.c              |   1 +
 3 files changed, 94 insertions(+), 81 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2022-10-21 12:23 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-15  3:20 [PATCH -next v2 0/2]riscv: some refactorings realted to uaccess and extable Tong Tiangen
2022-08-15  3:20 ` [PATCH -next v2 1/2] riscv: uaccess: rename __get/put_user_nocheck to __get/put_mem_nocheck Tong Tiangen
2022-08-25 10:56   ` Andrew Jones
2022-08-26  6:33     ` Tong Tiangen
2022-08-26  7:43       ` Andrew Jones
2022-08-27 10:39         ` Tong Tiangen
2022-08-26  9:30   ` Arnd Bergmann
2022-08-27 10:43     ` Tong Tiangen
2022-08-27 12:49       ` Arnd Bergmann
2022-08-29  1:26         ` Tong Tiangen
2022-08-15  3:20 ` [PATCH -next v2 2/2] riscv: extable: add new extable type EX_TYPE_KACCESS_ERR_ZERO support Tong Tiangen
2022-08-25 11:06   ` Andrew Jones
2022-08-26  6:44     ` Tong Tiangen
2022-08-26  8:16       ` Andrew Jones
2022-08-27 10:39         ` Tong Tiangen
2022-09-21 20:25           ` Palmer Dabbelt
2022-10-21 12:23             ` Tong Tiangen
2022-08-24  6:31 ` [PATCH -next v2 0/2]riscv: some refactorings realted to uaccess and extable Tong Tiangen
2022-08-24 16:49   ` Conor.Dooley
2022-08-25  3:04     ` Tong Tiangen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).