diff options
| author | Fuad Tabba <tabba@google.com> | 2026-02-13 14:38:15 +0000 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2026-02-13 14:54:48 +0000 |
| commit | 02471a78a052b631204aed051ab718e4d14ae687 (patch) | |
| tree | ace933a80cd3b7ff1c0cdfdfca8c3f253a353584 /include/linux | |
| parent | 7e7c2cf0024d89443a7af52e09e47b1fe634ab17 (diff) | |
KVM: arm64: Remove redundant kern_hyp_va() in unpin_host_sve_state()
The `sve_state` pointer in `hyp_vcpu->vcpu.arch` is initialized as a
hypervisor virtual address during vCPU initialization in
`pkvm_vcpu_init_sve()`.
`unpin_host_sve_state()` calls `kern_hyp_va()` on this address. Since
`kern_hyp_va()` is idempotent, it's not a bug. However, it is
unnecessary and potentially confusing. Remove the redundant conversion.
Signed-off-by: Fuad Tabba <tabba@google.com>
Link: https://patch.msgid.link/20260213143815.1732675-5-tabba@google.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
