summaryrefslogtreecommitdiff
path: root/arch/x86/kvm/svm/svm.c
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2021-04-21 19:11:21 -0700
committerPaolo Bonzini <pbonzini@redhat.com>2021-04-26 05:27:16 -0400
commit8cb756b7bdcc6e663a74dd0ca69ea143ff684494 (patch)
treecbde5e7f3a11b814ff8e7052f819089e36679389 /arch/x86/kvm/svm/svm.c
parent4cafd0c572a22a568904364071910d238426c50d (diff)
downloadlwn-8cb756b7bdcc6e663a74dd0ca69ea143ff684494.tar.gz
lwn-8cb756b7bdcc6e663a74dd0ca69ea143ff684494.zip
KVM: SVM: Explicitly check max SEV ASID during sev_hardware_setup()
Query max_sev_asid directly after setting it instead of bouncing through its wrapper, svm_sev_enabled(). Using the wrapper is unnecessary obfuscation. No functional change intended. Reviewed by: Tom Lendacky <thomas.lendacky@amd.com> Reviewed-by: Brijesh Singh <brijesh.singh@amd.com> Signed-off-by: Sean Christopherson <seanjc@google.com> Message-Id: <20210422021125.3417167-12-seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/svm/svm.c')
0 files changed, 0 insertions, 0 deletions