]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: selftests: Rename translate_to_host_paddr() => translate_hva_to_hpa()
authorSean Christopherson <seanjc@google.com>
Mon, 20 Apr 2026 21:19:59 +0000 (14:19 -0700)
committerSean Christopherson <seanjc@google.com>
Mon, 20 Apr 2026 21:54:17 +0000 (14:54 -0700)
commit4babae4ca10a6ba642373c45734d9df93852e6ed
tree09dab225fdf10c44117f3f42272778e1bc62833a
parent3fd995905b71dac9bd77a4cc770524bdc5606212
KVM: selftests: Rename translate_to_host_paddr() => translate_hva_to_hpa()

Rename arm64's translate_to_host_paddr() to translate_hva_to_hpa() and
update variable names to match, as using "vaddr" and "paddr" terminology
is super confusing due to selftests using those exact names for *guest*
addresses.

Opportunisitically drop superfluous local page_addr and paddr variables.

No functional change intended.

Link: https://patch.msgid.link/20260420212004.3938325-15-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
tools/testing/selftests/kvm/arm64/sea_to_user.c