Kristina Martsenko be12984256 arm64: install user ptrauth keys at kernel exit time
As we're going to enable pointer auth within the kernel and use a
different APIAKey for the kernel itself, so move the user APIAKey
switch to EL0 exception return.

The other 4 keys could remain switched during task switch, but are also
moved to keep things consistent.

Reviewed-by: Kees Cook <keescook@chromium.org>
Reviewed-by: James Morse <james.morse@arm.com>
Reviewed-by: Vincenzo Frascino <Vincenzo.Frascino@arm.com>
Signed-off-by: Kristina Martsenko <kristina.martsenko@arm.com>
[Amit: commit msg, re-positioned the patch, comments]
Signed-off-by: Amit Daniel Kachhap <amit.kachhap@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
2020-03-18 09:50:19 +00:00
..
2019-07-08 09:54:55 -07:00
2019-12-06 13:25:14 +00:00
2019-11-06 14:17:36 +00:00
2019-11-25 19:40:40 -08:00
2019-07-08 09:54:55 -07:00
2020-02-11 09:47:01 +00:00
2019-10-28 11:22:47 +00:00
2019-11-06 14:17:35 +00:00
2019-07-15 20:44:49 -07:00
2020-01-29 10:13:27 -08:00
2019-04-23 18:01:57 +01:00
2019-12-06 14:18:01 -08:00
2019-12-08 14:37:32 +01:00
2019-12-06 14:18:01 -08:00