The patch series implements multiple recommendation came during IOMMU support discussion [1] for the SEV guest. Non of these patches fixes Virtio support for SEV guest, instead it fixes the SEV IoMmuDxe support to comply with EFI PCI protocol spec on DMA bus master accesses.
I did some performace measurement and do not see notiable performace impact with unoptimized in-place encrypt/decrypt. [1] https://lists.01.org/pipermail/edk2-devel/2017-July/012448.html Brijesh Singh (4): OvmfPkg: IommuDxe: Do not clear C-bit in Allocate() and Free() OvmfPkg: IommuDxe: Provide support for mapping BusMasterCommonBuffer operation OvmfPkg: IommuDxe: Zero the shared page(s) on Unmap() OvmfPkg : QemuFwCfgLib: Map DMA buffer with CommonBuffer when SEV is enable OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLibInternal.h | 42 ++-- OvmfPkg/IoMmuDxe/AmdSevIoMmu.c | 206 ++++++++++++---- OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgDxe.c | 247 ++++++++++++++++---- OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLib.c | 131 ----------- OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgPei.c | 101 +++++--- OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSec.c | 56 ++--- 6 files changed, 458 insertions(+), 325 deletions(-) -- Brijesh Singh 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel