From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id A4E6221DF8087 for ; Mon, 28 Aug 2017 01:59:15 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 65EE87E421; Mon, 28 Aug 2017 09:01:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 65EE87E421 Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=lersek@redhat.com Received: from lacos-laptop-7.usersys.redhat.com (ovpn-116-67.phx2.redhat.com [10.3.116.67]) by smtp.corp.redhat.com (Postfix) with ESMTP id 12EC25C548; Mon, 28 Aug 2017 09:01:52 +0000 (UTC) To: Brijesh Singh , edk2-devel@lists.01.org Cc: Jordan Justen , Tom Lendacky , Ard Biesheuvel References: <1503880469-15999-1-git-send-email-brijesh.singh@amd.com> From: Laszlo Ersek Message-ID: <66a55802-e058-0ce7-33cf-6516dd18e08e@redhat.com> Date: Mon, 28 Aug 2017 11:01:52 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <1503880469-15999-1-git-send-email-brijesh.singh@amd.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Mon, 28 Aug 2017 09:01:54 +0000 (UTC) Subject: Re: [PATCH v2 0/3] OvmfPkg/VirtioBlkDxe: map host address to device address X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Aug 2017 08:59:15 -0000 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit 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 > Cc: Jordan Justen > Cc: Tom Lendacky > Cc: Laszlo Ersek > > 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 Commit range a2285a896384..dd4205f8ba41. Thanks, Laszlo