On 08/28/17 02:34, Brijesh Singh wrote:
> 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.biesheuvel@linaro.org>
> Cc: Jordan Justen <jordan.l.justen@intel.com>
> Cc: Tom Lendacky <thomas.lendacky@amd.com>
> Cc: Laszlo Ersek <lersek@redhat.com>
>
> Repo: https://github.com/codomania/edk2
> Branch: virtio-blk-2
>
> Changes since v1:
> * changes to address v1 feedback
>
> 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 | 188 +++++++++++++++++---
> 2 files changed, 166 insertions(+), 23 deletions(-)
>
test scenario legacy PCI (X64) modern PCI (X64)
---------------- --------------- ----------------
shell RECONNECT PASS PASS
shell LS/TYPE PASS PASS
ExitBootServices PASS PASS
Regression-tested-by: Laszlo Ersek <lersek@redhat.com>
Commit range a2285a896384..dd4205f8ba41.
Thanks,
Laszlo
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel