The patch updates VirtioScsiDxe 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 <[email protected]> Cc: Jordan Justen <[email protected]> Cc: Tom Lendacky <[email protected]> Cc: Laszlo Ersek <[email protected]> Repo: https://github.com/codomania/edk2 Branch: virtio-scsi-2 Changes since v1: * changes to address v1 feedback Brijesh Singh (4): OvmfPkg/VirtioScsiDxe: map VRING using VirtioRingMap() OvmfPkg/VirtioScsiDxe: add helper to create a fake host adapter error Ovmfpkg/VirtioScsiDxe: map virtio-scsi request and response buffers OvmfPkg/VirtioScsiDxe: negotiate VIRTIO_F_IOMMU_PLATFORM OvmfPkg/VirtioScsiDxe/VirtioScsi.h | 1 + OvmfPkg/VirtioScsiDxe/VirtioScsi.c | 301 +++++++++++++++++--- 2 files changed, 269 insertions(+), 33 deletions(-) -- 2.7.4 _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel

