Re: [PATCH] powerpc/44x: Implement Kernel Userspace Exec Protection (KUEP)

From: Michael Ellerman
Date: Fri Jun 18 2021 - 00:23:21 EST


On Wed, 2 Jun 2021 06:42:10 +0000 (UTC), Christophe Leroy wrote:
> Powerpc 44x has two bits for exec protection in TLBs: one
> for user (UX) and one for superviser (SX).
>
> Clear SX on user pages in TLB miss handlers to provide KUEP.

Applied to powerpc/next.

[1/1] powerpc/44x: Implement Kernel Userspace Exec Protection (KUEP)
https://git.kernel.org/powerpc/c/10248dcba1205042a3a0ea65eb441030702d97cd

cheers