KVM: x86/mmu: Drop vCPU param from reserved bits calculator
authorSean Christopherson <seanjc@google.com>
Tue, 22 Jun 2021 17:57:16 +0000 (10:57 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 24 Jun 2021 22:00:42 +0000 (18:00 -0400)
commitb705a277b7059673c93e7ada01cc446dfae3e85a
tree7ccda2a772fed5a55344796a7f2d29bf61470443
parent4e9c0d80dbbd2dd411d726ed10eccaaba6d63a08
KVM: x86/mmu: Drop vCPU param from reserved bits calculator

Drop the vCPU param from __reset_rsvds_bits_mask() as it's now unused,
and ideally will remain unused in the future.  Any information that's
needed by the low level helper should be explicitly provided as it's used
for both shadow/host MMUs and guest MMUs, i.e. vCPU state may be
meaningless or simply wrong.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210622175739.3610207-32-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/mmu.c