Re: [PATCH v6 05/13] arm64: Don't trap host pointer auth use to EL2

2018-12-09 Thread Richard Henderson
On 12/7/18 12:39 PM, Kristina Martsenko wrote: > From: Mark Rutland > > To allow EL0 (and/or EL1) to use pointer authentication functionality, > we must ensure that pointer authentication instructions and accesses to > pointer authentication keys are not trapped to EL2. > > This patch ensures th

[PATCH v6 05/13] arm64: Don't trap host pointer auth use to EL2

2018-12-07 Thread Kristina Martsenko
From: Mark Rutland To allow EL0 (and/or EL1) to use pointer authentication functionality, we must ensure that pointer authentication instructions and accesses to pointer authentication keys are not trapped to EL2. This patch ensures that HCR_EL2 is configured appropriately when the kernel is boo