]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
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)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 7 May 2021 07:53:29 +0000 (09:53 +0200)
commit7924a5bcb027bfd085a2f6e84669ea521c588531
tree07a68dffc6e399c6118747f023743317dd630d3d
parent933087adc6d3ebc459e9e4b3a8e624b3ab207ea3
KVM: x86/mmu: Rename goal_gfn to next_last_level_gfn

BugLink: https://bugs.launchpad.net/bugs/1926368
[ 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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
arch/x86/kvm/mmu/tdp_iter.c
arch/x86/kvm/mmu/tdp_iter.h