Hi Paolo, Thanks for the prompt reply. I will update the code and will be waiting for Tom and other AMD folks' feedback. Thanks. Regards -Mingwei On Tue, Aug 17, 2021 at 1:54 AM Paolo Bonzini <pbonzini@xxxxxxxxxx> wrote: > > On 16/08/21 22:24, Mingwei Zhang wrote: > > This patch set is trying to help make the interface between KVM and psp > > cleaner and simpler. In particular, the patches do the following > > improvements: > > - avoid the requirement of psp data structures for some psp APIs. > > - hide error handling within psp API, eg., using sev_decommission. > > - hide the serialization requirement between DF_FLUSH and DEACTIVATE. > > > > Mingwei Zhang (3): > > KVM: SVM: move sev_decommission to psp driver > > KVM: SVM: move sev_bind_asid to psp > > KVM: SVM: move sev_unbind_asid and DF_FLUSH logic into psp > > No objections apart from the build failure on patch 1. However, it's up > to Tom whether they prefer this logic in KVM or the PSP driver. > > Paolo >