diff options
| author | Suzuki K Poulose <suzuki.poulose@arm.com> | 2026-10-07 08:35:32 +0100 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2026-10-07 13:30:28 +0100 |
| commit | fb3926af9d0d5e2e2f58a1f4b2252f529fbe23bf (patch) | |
| tree | 35b2b4cb08e0a83be54bc334b0cbb35d9cecc331 /tools/perf/scripts/python/flamegraph.py | |
| parent | 0cb16544ccaceba4c5e8beb2e8ae896278dcf018 (diff) | |
KVM: arm64: Consolidate stage2 unmap range into kvm_stage2_unmap_range
In preparation for adding VM specific backends for stage2 operations,
nuke __unmap_stage2_range() and fold the logic into
kvm_stage2_unmap_range(). Also, make kvm_unmap_gfn_range(), the only other
user of the __unmap_stage2_range() call the kvm_stage2_unmap_range(). Also,
while at it fix the comment to make it clear that mmu_lock must always be
held while unmapping. The code already mandates that and the two call paths
do have the write mmu_lock held.
Later we would replace the logic in kvm_stage2_unmap_range() with VM
specific backends.
No functional changes intended.
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-10-suzuki.poulose@arm.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
