commit | 11ac16a4290b72efa8328cb144b727f3cbbdfa6a | [log] [tgz] |
---|---|---|
author | Marc Zyngier <maz@kernel.org> | Mon Jun 15 21:03:30 2020 +0100 |
committer | Marc Zyngier <maz@kernel.org> | Mon Jun 22 11:42:50 2020 +0100 |
tree | f62037ce0c8d03ca86024806ad751c0d5c0314dd | |
parent | 655169cec7bbf84f59faa9f824edb581eaecf78d [diff] |
KVM: arm64: Simplify PtrAuth alternative patching We currently decide to execute the PtrAuth save/restore code based on a set of branches that evaluate as (ARM64_HAS_ADDRESS_AUTH_ARCH || ARM64_HAS_ADDRESS_AUTH_IMP_DEF). This can be easily replaced by a much simpler test as the ARM64_HAS_ADDRESS_AUTH capability is exactly this expression. Suggested-by: Mark Rutland <mark.rutland@arm.com> Acked-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Marc Zyngier <maz@kernel.org>