Re: [RFC 12/17] arm64: move ptrauth keys to thread_info

From: Catalin Marinas
Date: Fri Oct 19 2018 - 07:38:30 EST


On Fri, Oct 05, 2018 at 09:47:49AM +0100, Kristina Martsenko wrote:
> From: Mark Rutland <mark.rutland@xxxxxxx>
>
> To use pointer authentication in the kernel, we'll need to switch keys
> in the entry assembly. This patch moves the pointer auth keys into
> thread_info to make this possible.
>
> There should be no functional change as a result of this patch.
>
> Signed-off-by: Mark Rutland <mark.rutland@xxxxxxx>
> Signed-off-by: Kristina Martsenko <kristina.martsenko@xxxxxxx>

Can we actually fold this into patch 7? It also leaves the door open to
allowing per-thread keys.

--
Catalin