]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb05ea518e83180472de63ae69bd646e0feb56d17
tree7ccda2a772fed5a55344796a7f2d29bf61470443
parent9bd6ceb344341bb16ed9337aac4ab7955322ef26
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