Skip to content
Commit 9eecfc22 authored by Kristina Martsenko's avatar Kristina Martsenko Committed by Marc Zyngier
Browse files

KVM: arm64: Fix ptrauth ID register masking logic



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: 384b40ca ("KVM: arm/arm64: Context-switch ptrauth registers")
Reported-by: default avatarAndrew Murray <andrew.murray@arm.com>
Fscked-up-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
Acked-by: default avatarWill Deacon <will.deacon@arm.com>
Tested-by: default avatarAndrew Murray <andrew.murray@arm.com>
Signed-off-by: default avatarKristina Martsenko <kristina.martsenko@arm.com>
Signed-off-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
parent 21137301
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment