[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CALMp9eRe8=mJM7rTrn57sWtWVWQOj0Xhwwu=4jpYfh_PDWfAaw@mail.gmail.com>
Date: Fri, 4 Oct 2019 10:25:40 -0700
From: Jim Mattson <jmattson@...gle.com>
To: "Lendacky, Thomas" <Thomas.Lendacky@....com>
Cc: "kvm@...r.kernel.org" <kvm@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Paolo Bonzini <pbonzini@...hat.com>,
Radim Krčmář <rkrcmar@...hat.com>,
Sean Christopherson <sean.j.christopherson@...el.com>,
Vitaly Kuznetsov <vkuznets@...hat.com>,
Wanpeng Li <wanpengli@...cent.com>,
Joerg Roedel <joro@...tes.org>,
"Singh, Brijesh" <brijesh.singh@....com>,
David Rientjes <rientjes@...gle.com>
Subject: Re: [PATCH 1/5] KVM: SVM: Serialize access to the SEV ASID bitmap
On Thu, Oct 3, 2019 at 2:17 PM Lendacky, Thomas <Thomas.Lendacky@....com> wrote:
>
> From: Tom Lendacky <thomas.lendacky@....com>
>
> The SEV ASID bitmap currently is not protected against parallel SEV guest
> startups. This can result in an SEV guest failing to start because another
> SEV guest could have been assigned the same ASID value. Use a mutex to
> serialize access to the SEV ASID bitmap.
>
> Fixes: 1654efcbc431 ("KVM: SVM: Add KVM_SEV_INIT command")
> Tested-by: David Rientjes <rientjes@...gle.com>
> Signed-off-by: Tom Lendacky <thomas.lendacky@....com>
Reviewed-by: Jim Mattson <jmattson@...gle.com>
Powered by blists - more mailing lists