]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: selftests: Rename vm_vaddr_populate_bitmap() => vm_populate_gva_bitmap()
authorSean Christopherson <seanjc@google.com>
Mon, 20 Apr 2026 21:19:58 +0000 (14:19 -0700)
committerSean Christopherson <seanjc@google.com>
Mon, 20 Apr 2026 21:54:17 +0000 (14:54 -0700)
commit3fd995905b71dac9bd77a4cc770524bdc5606212
tree2ea1710eb9b275a4fc6c73bf2aff35daffc7a56e
parent48321f609a73e37c26e29e0b38e38741263e7e7d
KVM: selftests: Rename vm_vaddr_populate_bitmap() => vm_populate_gva_bitmap()

Now that KVM selftests use gva_t instead of vm_vaddr_t, rename the helper
for populating the initial GVA bitmap to drop the defunct terminology and
use "vm" for the scope.

Opportunistically fixup the declaration of the API, which has been broken
since day 1.  The flaw went unnoticed because the sole caller is defined
after the weak version, i.e. can see the prototype without a previous
declaration.

No functional change intended.

Fixes: e8b9a055fa04 ("KVM: arm64: selftests: Align VA space allocator with TTBR0")
Link: https://patch.msgid.link/20260420212004.3938325-14-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
tools/testing/selftests/kvm/include/kvm_util.h
tools/testing/selftests/kvm/lib/arm64/processor.c
tools/testing/selftests/kvm/lib/kvm_util.c