]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: SVM: Update ASID allocation to support SEV-ES guests
authorTom Lendacky <thomas.lendacky@amd.com>
Thu, 10 Dec 2020 17:10:05 +0000 (11:10 -0600)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 15 Dec 2020 10:20:57 +0000 (05:20 -0500)
commitf9a70e650533183cdcf167b2c3cb698d54fad987
tree6ae9ead1dc8683dfc252a077e8cbfa64cc5a4e17
parentdb9a304cb2868446075c3b41441590956b2c4e1a
KVM: SVM: Update ASID allocation to support SEV-ES guests

SEV and SEV-ES guests each have dedicated ASID ranges. Update the ASID
allocation routine to return an ASID in the respective range.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Message-Id: <d7aed505e31e3954268b2015bb60a1486269c780.1607620209.git.thomas.lendacky@amd.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/sev.c