public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH v1 0/4] OvmfPkg : IoMmuDxe: BusMasterCommonBuffer support when SEV is active
@ 2017-07-31 19:31 Brijesh Singh
  2017-07-31 19:31 ` [PATCH v1 1/4] OvmfPkg: IommuDxe: Do not clear C-bit in Allocate() and Free() Brijesh Singh
                   ` (3 more replies)
  0 siblings, 4 replies; 17+ messages in thread
From: Brijesh Singh @ 2017-07-31 19:31 UTC (permalink / raw)
  To: edk2-devel; +Cc: Tom Lendacky, Ard Biesheuvel, Brijesh Singh

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



^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2017-08-02 12:50 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-31 19:31 [PATCH v1 0/4] OvmfPkg : IoMmuDxe: BusMasterCommonBuffer support when SEV is active Brijesh Singh
2017-07-31 19:31 ` [PATCH v1 1/4] OvmfPkg: IommuDxe: Do not clear C-bit in Allocate() and Free() Brijesh Singh
2017-08-01 20:42   ` Laszlo Ersek
2017-07-31 19:31 ` [PATCH v1 2/4] OvmfPkg: IommuDxe: Provide support for mapping BusMasterCommonBuffer operation Brijesh Singh
2017-07-31 19:49   ` Ard Biesheuvel
2017-07-31 20:27     ` Brijesh Singh
2017-08-01 20:52       ` Laszlo Ersek
2017-08-01 21:59   ` Laszlo Ersek
2017-08-01 23:51     ` Brijesh Singh
2017-08-02  8:41       ` Laszlo Ersek
2017-07-31 19:31 ` [PATCH v1 3/4] OvmfPkg: IommuDxe: Zero the shared page(s) on Unmap() Brijesh Singh
2017-07-31 19:38   ` Brijesh Singh
2017-08-02  7:37   ` Laszlo Ersek
2017-08-02 11:22     ` Brijesh Singh
2017-08-02 12:52       ` Laszlo Ersek
2017-07-31 19:31 ` [PATCH v1 4/4] OvmfPkg : QemuFwCfgLib: Map DMA buffer with CommonBuffer when SEV is enable Brijesh Singh
2017-08-02  8:09   ` Laszlo Ersek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox