Re: [edk2] [PATCH 1/3] MdeModulePkg/Include: Add IOMMU protocol definition.

2017-05-02 Thread Yao, Jiewen
From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Ard Biesheuvel Sent: Tuesday, May 2, 2017 5:56 PM To: Yao, Jiewen <jiewen@intel.com> Cc: Ni, Ruiyu <ruiyu...@intel.com>; edk2-devel@lists.01.org; Leo Duran <leo.du...@amd.com> Subject: Re: [edk2] [PATCH

Re: [edk2] [PATCH 1/3] MdeModulePkg/Include: Add IOMMU protocol definition.

2017-05-02 Thread Ard Biesheuvel
Hello Jiewen, On 29 April 2017 at 14:48, Jiewen Yao wrote: > This protocol is to abstract DMA access from IOMMU. > 1) Intel "DMAR" ACPI table. > 2) AMD "IVRS" ACPI table > 3) ARM "IORT" ACPI table. > > There might be multiple IOMMU engines on one platform. > For example,

[edk2] [PATCH 1/3] MdeModulePkg/Include: Add IOMMU protocol definition.

2017-04-29 Thread Jiewen Yao
This protocol is to abstract DMA access from IOMMU. 1) Intel "DMAR" ACPI table. 2) AMD "IVRS" ACPI table 3) ARM "IORT" ACPI table. There might be multiple IOMMU engines on one platform. For example, one for graphic and one for rest PCI devices (such as ATA/USB). All IOMMU engines are reported by

Re: [edk2] [PATCH 1/3] MdeModulePkg/Include: Add IOMMU protocol definition.

2017-03-30 Thread Ard Biesheuvel
Yao, Jiewen <jiewen@intel.com> > Cc: Kinney, Michael D <michael.d.kin...@intel.com>; Ni, Ruiyu > <ruiyu...@intel.com>; Leo Duran <leo.du...@amd.com>; > edk2-devel@lists.01.org; Brijesh Singh <brijesh.si...@amd.com> > Subject: Re: [edk2] [PATCH 1/3] Md

Re: [edk2] [PATCH 1/3] MdeModulePkg/Include: Add IOMMU protocol definition.

2017-03-30 Thread Yao, Jiewen
.du...@amd.com>; edk2-devel@lists.01.org; Brijesh Singh <brijesh.si...@amd.com> Subject: Re: [edk2] [PATCH 1/3] MdeModulePkg/Include: Add IOMMU protocol definition. On 29 March 2017 at 00:45, Yao, Jiewen <jiewen@intel.com<mailto:jiewen@intel.com>> wrote: > A

Re: [edk2] [PATCH 1/3] MdeModulePkg/Include: Add IOMMU protocol definition.

2017-03-29 Thread Ard Biesheuvel
On 29 March 2017 at 00:45, Yao, Jiewen wrote: > Agree. That is a good idea. > > > > I will add that in V2 patch. > Hello Jiewen, As a bit of background, what I have in mind is an enhancement of the PCI root bridge I/O allocate, map and unmap methods so that situations that

Re: [edk2] [PATCH 1/3] MdeModulePkg/Include: Add IOMMU protocol definition.

2017-03-28 Thread Yao, Jiewen
: Ni, Ruiyu <ruiyu...@intel.com>; Leo Duran <leo.du...@amd.com>; edk2-devel@lists.01.org; Brijesh Singh <brijesh.si...@amd.com> Subject: RE: [edk2] [PATCH 1/3] MdeModulePkg/Include: Add IOMMU protocol definition. Ard, I agree. And I think the IOMMU protocol should also support

Re: [edk2] [PATCH 1/3] MdeModulePkg/Include: Add IOMMU protocol definition.

2017-03-28 Thread Kinney, Michael D
@amd.com> > Subject: Re: [edk2] [PATCH 1/3] MdeModulePkg/Include: Add IOMMU protocol > definition. > > On 25 March 2017 at 09:28, Jiewen Yao <jiewen@intel.com> wrote: > > This protocol is to abstract IOMMU access. > > > > Cc: Ruiyu Ni <ruiyu...@intel.com

Re: [edk2] [PATCH 1/3] MdeModulePkg/Include: Add IOMMU protocol definition.

2017-03-28 Thread Ard Biesheuvel
On 25 March 2017 at 09:28, Jiewen Yao wrote: > This protocol is to abstract IOMMU access. > > Cc: Ruiyu Ni > Cc: Leo Duran > Cc: Brijesh Singh > Contributed-under: TianoCore Contribution Agreement 1.0 >

[edk2] [PATCH 1/3] MdeModulePkg/Include: Add IOMMU protocol definition.

2017-03-25 Thread Jiewen Yao
This protocol is to abstract IOMMU access. Cc: Ruiyu Ni Cc: Leo Duran Cc: Brijesh Singh Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao ---