]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: SEV: Drop a redundant setting of sev->asid during initialization
authorSean Christopherson <seanjc@google.com>
Tue, 9 Nov 2021 21:51:00 +0000 (21:51 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 18 Nov 2021 07:10:27 +0000 (02:10 -0500)
commit44afce27aef0b010be8c7e549263765ddb80eeb1
tree4f3d3fd363673159edfadda88c79c067bbe34964
parent29f999e4f0f18668d520dcd739be5a28f2dc7cd9
KVM: SEV: Drop a redundant setting of sev->asid during initialization

Remove a fully redundant write to sev->asid during SEV/SEV-ES guest
initialization.  The ASID is set a few lines earlier prior to the call to
sev_platform_init(), which doesn't take "sev" as a param, i.e. can't
muck with the ASID barring some truly magical behind-the-scenes code.

No functional change intended.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20211109215101.2211373-6-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/sev.c