The patch updates the VirtioBlkDxe to use IOMMU-like member functions to map the system physical address to device address for buffers (including vring, device specific request and response pointed by vring descriptor, and any furter memory reference by those request and response).
Cc: Ard Biesheuvel <ard.biesheu...@linaro.org> Cc: Jordan Justen <jordan.l.jus...@intel.com> Cc: Tom Lendacky <thomas.lenda...@amd.com> Cc: Laszlo Ersek <ler...@redhat.com> Repo: https://github.com/codomania/edk2 Branch: virtio-blk-1 Brijesh Singh (3): OvmfPkg/VirtioBlkDxe: map VRING using VirtioRingMap() Ovmfpkg/VirtioBlkDxe: map virtio-blk request and response buffers OvmfPkg/VirtioBlkDxe: negotiate VIRTIO_F_IOMMU_PLATFORM OvmfPkg/VirtioBlkDxe/VirtioBlk.h | 1 + OvmfPkg/VirtioBlkDxe/VirtioBlk.c | 207 +++++++++++++++++--- 2 files changed, 184 insertions(+), 24 deletions(-) -- 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel