Re: [PATCH 3/4] KVM: arm64: Allow PtrAuth to be enabled from userspace on non-VHE systems

2020-06-15 Thread Andrew Scull
On Mon, Jun 15, 2020 at 09:19:53AM +0100, Marc Zyngier wrote: > Now that the scene is set for enabling PtrAuth on non-VHE, drop > the restrictions preventing userspace from enabling it. > > Signed-off-by: Marc Zyngier > --- > arch/arm64/kvm/reset.c | 21 ++--- > 1 file changed, 1

Re: [PATCH 3/4] KVM: arm64: Allow PtrAuth to be enabled from userspace on non-VHE systems

2020-06-15 Thread Mark Rutland
On Mon, Jun 15, 2020 at 09:19:53AM +0100, Marc Zyngier wrote: > Now that the scene is set for enabling PtrAuth on non-VHE, drop > the restrictions preventing userspace from enabling it. > > Signed-off-by: Marc Zyngier Other than dropping the `has_vhe()` check this appears to be functionally equi

[PATCH 3/4] KVM: arm64: Allow PtrAuth to be enabled from userspace on non-VHE systems

2020-06-15 Thread Marc Zyngier
Now that the scene is set for enabling PtrAuth on non-VHE, drop the restrictions preventing userspace from enabling it. Signed-off-by: Marc Zyngier --- arch/arm64/kvm/reset.c | 21 ++--- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/arch/arm64/kvm/reset.c b/arch