Re: [PATCH v19 08/20] KVM: arm64: Reuse kvm_stage2_unmap_range in kvm_unmap_gfn_range

From: Gavin Shan

Date: Sun Sep 27 2026 - 20:18:01 EST


On 9/21/26 7:28 AM, Suzuki K Poulose wrote:
In preparation for adding VM specific backends for stage2 operation,
switch to kvm_stage2_unmap_range() instead of __unmap_stage2_range()
from the kvm_unmap_gfn_range(). Drop the bail out check for protected
VMs and defer that to the one in kvm_stage2_unmap_range(). Later we
would replace the logic in kvm_stage2_unmap_range() with VM specific
backends.

No functional changes intended.

Reviewed-by: Fuad Tabba <fuad.tabba@xxxxxxxxx>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@xxxxxxx>
---
arch/arm64/kvm/mmu.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

Reviewed-by: Gavin Shan <gshan@xxxxxxxxxx>