Re: [PATCH] powerpc/uaccess: Don't set KUAP by default on book3s/32

From: Michael Ellerman
Date: Tue Jun 09 2020 - 01:29:27 EST


On Wed, 15 Apr 2020 14:57:09 +0000 (UTC), Christophe Leroy wrote:
> On book3s/32, KUAP is an heavy process as it requires to
> determine which segments are impacted and unlock/lock
> each of them.
>
> And since the implementation of user_access_begin/end, it
> is even worth for the time being because unlike __get_user(),
> user_access_begin doesn't make difference between read and write
> and unlocks access also for read allthought that's unneeded
> on book3s/32.
>
> [...]

Applied to powerpc/next.

[1/1] powerpc/uaccess: Don't set KUAP by default on book3s/32
https://git.kernel.org/powerpc/c/547e687b2981a115814962506068873d24983af7

cheers