Re: [PATCH v3 1/4] powerpc: Remove probe_user_read_inst()
From: Michael Ellerman
Date: Wed Apr 21 2021 - 09:16:45 EST
On Wed, 14 Apr 2021 13:08:40 +0000 (UTC), Christophe Leroy wrote:
> Its name comes from former probe_user_read() function.
> That function is now called copy_from_user_nofault().
>
> probe_user_read_inst() uses copy_from_user_nofault() to read only
> a few bytes. It is suboptimal.
>
> It does the same as get_user_inst() but in addition disables
> page faults.
>
> [...]
Applied to powerpc/next.
[1/4] powerpc: Remove probe_user_read_inst()
https://git.kernel.org/powerpc/c/6ac7897f08e04b47df3955d7691652e9d12d4068
[2/4] powerpc: Make probe_kernel_read_inst() common to PPC32 and PPC64
https://git.kernel.org/powerpc/c/6449078d50111c839bb7156c3b99b9def80eed42
[3/4] powerpc: Rename probe_kernel_read_inst()
https://git.kernel.org/powerpc/c/41d6cf68b5f611934bcc6a7d4a1a2d9bfd04b420
[4/4] powerpc: Move copy_from_kernel_nofault_inst()
https://git.kernel.org/powerpc/c/39352430aaa05fbe4ba710231c70b334513078f2
cheers