]> 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)
commit95a3867589f280c1de3512e9b83324e9dfa16937
tree6ae9ead1dc8683dfc252a077e8cbfa64cc5a4e17
parenta87826d75ea9d3910f9799e6487e46c3ed3c4fe6
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