[PATCH 0/3] clean up interface between KVM and psp

From: Mingwei Zhang
Date: Mon Aug 16 2021 - 16:24:55 EST


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

arch/x86/kvm/svm/sev.c | 69 ++++--------------------------------
drivers/crypto/ccp/sev-dev.c | 57 +++++++++++++++++++++++++++--
include/linux/psp-sev.h | 44 ++++++++++++++++++++---
3 files changed, 102 insertions(+), 68 deletions(-)

--
2.33.0.rc1.237.g0d66db33f3-goog