KVM: x86/mmu: Rename goal_gfn to next_last_level_gfn
authorBen Gardon <bgardon@google.com>
Sat, 10 Apr 2021 15:12:23 +0000 (11:12 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Apr 2021 06:42:04 +0000 (08:42 +0200)
commit1cd17c5c9b8a6c2d550c9dbc934dffa813fccfb6
tree57beebcc76851eab04de3eb489b795a303083f3a
parentb4a3a0d279249bb68fb4f4079ed4db8b0e633213
KVM: x86/mmu: Rename goal_gfn to next_last_level_gfn

[ Upstream commit 74953d3530280dc53256054e1906f58d07bfba44 ]

The goal_gfn field in tdp_iter can be misleading as it implies that it
is the iterator's final goal. It is really a target for the lowest gfn
mapped by the leaf level SPTE the iterator will traverse towards. Change
the field's name to be more precise.

Signed-off-by: Ben Gardon <bgardon@google.com>
Message-Id: <20210202185734.1680553-13-bgardon@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/x86/kvm/mmu/tdp_iter.c
arch/x86/kvm/mmu/tdp_iter.h