KVM: arm64: Drop sort_memblock_regions()
Drop sort_memblock_regions() and avoid sorting the copied memory regions to be ascending order on their base addresses, because the source memory regions should have been sorted correctly when they are added by memblock_add() or its variants. This is generally reverting commit a14307f5 ("KVM: arm64: Sort the hypervisor memblocks"). No functional changes intended. Signed-off-by:Gavin Shan <gshan@redhat.com> Reviewed-by:
Quentin Perret <qperret@google.com> Acked-by:
Will Deacon <will@kernel.org> Link: https://lore.kernel.org/r/20250311043718.91004-1-gshan@redhat.com Signed-off-by:
Marc Zyngier <maz@kernel.org>
Loading
Please sign in to comment