Re: [PATCH 6/8] riscv: refactor __get_user and __put_user

2020-09-08 Thread Palmer Dabbelt
On Sun, 06 Sep 2020 22:58:23 PDT (-0700), Christoph Hellwig wrote: Add new __get_user_nocheck and __put_user_nocheck that switch on the size and call the actual inline assembly helpers, and move the uaccess enable / disable into the actual __get_user and __put_user. This prepares for natively

[PATCH 6/8] riscv: refactor __get_user and __put_user

2020-09-06 Thread Christoph Hellwig
Add new __get_user_nocheck and __put_user_nocheck that switch on the size and call the actual inline assembly helpers, and move the uaccess enable / disable into the actual __get_user and __put_user. This prepares for natively implementing __get_kernel_nofault and __put_kernel_nofault. Also

[PATCH 6/8] riscv: refactor __get_user and __put_user

2020-09-04 Thread Christoph Hellwig
Add new __get_user_nocheck and __put_user_nocheck that switch on the size and call the actual inline assembly helpers, and move the uaccess enable / disable into the actual __get_user and __put_user. This prepares for natively implementing __get_kernel_nofault and __put_kernel_nofault. Also