[PATCH] KVM: arm64: fix ptrauth ID register masking logic

2019-05-01 Thread Kristina Martsenko
When a VCPU doesn't have pointer auth, we want to hide all four pointer auth ID register fields from the guest, not just one of them. Fixes: 384b40caa8af ("KVM: arm/arm64: Context-switch ptrauth registers") Reported-by: Andrew Murray Fsck-up-by: Marc Zyngier Signed-off-by: Kristina Martsenko --

Re: [PATCH] KVM: arm64: fix ptrauth ID register masking logic

2019-05-01 Thread Will Deacon
On Wed, May 01, 2019 at 05:10:08PM +0100, Kristina Martsenko wrote: > When a VCPU doesn't have pointer auth, we want to hide all four pointer > auth ID register fields from the guest, not just one of them. > > Fixes: 384b40caa8af ("KVM: arm/arm64: Context-switch ptrauth registers") > Reported-by:

Re: [PATCH] KVM: arm64: fix ptrauth ID register masking logic

2019-05-01 Thread Andrew Murray
On Wed, May 01, 2019 at 05:16:57PM +0100, Will Deacon wrote: > On Wed, May 01, 2019 at 05:10:08PM +0100, Kristina Martsenko wrote: > > When a VCPU doesn't have pointer auth, we want to hide all four pointer > > auth ID register fields from the guest, not just one of them. > > > > Fixes: 384b40caa8

Re: [PATCH] KVM: arm64: fix ptrauth ID register masking logic

2019-05-01 Thread Marc Zyngier
On 01/05/2019 17:10, Kristina Martsenko wrote: > When a VCPU doesn't have pointer auth, we want to hide all four pointer > auth ID register fields from the guest, not just one of them. > > Fixes: 384b40caa8af ("KVM: arm/arm64: Context-switch ptrauth registers") > Reported-by: Andrew Murray > Fsck

Re: [PATCH] KVM: arm64: fix ptrauth ID register masking logic

2019-05-02 Thread Dave Martin
On Wed, May 01, 2019 at 05:20:49PM +0100, Marc Zyngier wrote: > On 01/05/2019 17:10, Kristina Martsenko wrote: > > When a VCPU doesn't have pointer auth, we want to hide all four pointer > > auth ID register fields from the guest, not just one of them. > > > > Fixes: 384b40caa8af ("KVM: arm/arm64: