[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 --- MdeModulePkg/Include/Protocol/IoMmu.h | 132 MdeModulePkg/MdeModulePkg.dec | 3 + 2 file

[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 o

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 > Signed-off-by: Jiewen Yao Hello all, It would be very useful for a IOMMU protocol such as

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

2017-03-28 Thread Kinney, Michael D
l-boun...@lists.01.org] On Behalf Of Ard > Biesheuvel > Sent: Tuesday, March 28, 2017 3:39 PM > To: Yao, Jiewen > Cc: Ni, Ruiyu ; Leo Duran ; edk2- > de...@lists.01.org; Brijesh Singh > Subject: Re: [edk2] [PATCH 1/3] MdeModulePkg/Include: Add IOMMU protocol > definition. >

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

2017-03-28 Thread Yao, Jiewen
amd.com>>; edk2- > de...@lists.01.org<mailto:de...@lists.01.org>; Brijesh Singh > mailto:brijesh.si...@amd.com>> > Subject: Re: [edk2] [PATCH 1/3] MdeModulePkg/Include: Add IOMMU protocol > definition. > > On 25 March 2017 at 09:28, Jiewen Yao > mailto:jie

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 would currently lead t

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

2017-03-30 Thread Yao, Jiewen
Thanks for the info. Comment inline. From: Ard Biesheuvel [mailto:ard.biesheu...@linaro.org] Sent: Wednesday, March 29, 2017 10:23 PM To: Yao, Jiewen Cc: Kinney, Michael D ; Ni, Ruiyu ; Leo Duran ; edk2-devel@lists.01.org; Brijesh Singh Subject: Re: [edk2] [PATCH 1/3] MdeModulePkg/Include

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

2017-03-30 Thread Ard Biesheuvel
ey, Michael D ; Ni, Ruiyu > ; Leo Duran ; > edk2-devel@lists.01.org; Brijesh Singh > Subject: Re: [edk2] [PATCH 1/3] MdeModulePkg/Include: Add IOMMU protocol > definition. > > > > On 29 March 2017 at 00:45, Yao, Jiewen wrote: >> Agree. That is a good idea. >> >

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, one for graphic and one f

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 Cc: Ni, Ruiyu ; edk2-devel@lists.01.org; Leo Duran Subject: Re: [edk2] [PATCH 1/3] MdeModulePkg/Include: Add IOMMU protocol definition. Hello Jiewen, On 29