diff options
| author | Suzuki K Poulose <suzuki.poulose@arm.com> | 2026-10-07 08:35:29 +0100 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2026-10-07 13:30:28 +0100 |
| commit | 42a4026b435e49af4d5eaae58afe7103ca740c30 (patch) | |
| tree | 67771136ce8a54a24c39570f2456410f35c5f3f7 /tools/perf/scripts/python/bin | |
| parent | 762ad274c03a13686192d75ef9a354b96114b503 (diff) | |
KVM: arm64: Don't call vcpu_set_pauth_traps for pKVM host
vcpu_set_pauth_traps() bails out and does nothing for pKVM hosts.
Clean this up by moving the is_protected_kvm_enabled() check to the
caller, in preparation for adding VM specific vcpu load/put callbacks.
While at it, do an early return if the vcpu doesn't have ptrauth.
No functional changes
Reviewed-by: Gavin Shan <gshan@redhat.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Reviewed-by: Fuad Tabba <fuad.tabba@linux.dev>
Link: https://patch.msgid.link/20261007073537.2454351-7-suzuki.poulose@arm.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
