[edk2] [Patch] MdePkg: Add UEFI 2.7 defined GUID and structure for KMS protocol.

2017-07-18 Thread Fu Siyuan
Cc: Ye Ting Cc: Wu Jiaxin Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Fu Siyuan --- MdePkg/Include/Protocol/Kms.h | 17 - 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/MdePkg/Include/Protocol/Kms.h b/MdePkg/Include/Protocol/Kms.h index

[edk2] [Patch][edk2-platforms/minnowboard-max-udk2015] Changed ReadMe.MD

2017-07-18 Thread Guo, Mang
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Guo Mang --- ReadMe.MD | 83 --- 1 file changed, 5 insertions(+), 78 deletions(-) diff --git a/ReadMe.MD b/ReadMe.MD index 63f3219..4abead1 100644 --- a/ReadMe.MD +

Re: [edk2] [Patch 1/2] MdePkg SmmAccess2: Update comments to follow PI spec.

2017-07-18 Thread Ni, Ruiyu
Reviewed-by: Ruiyu Ni Thanks/Ray > -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of > Eric Dong > Sent: Wednesday, July 19, 2017 10:38 AM > To: edk2-devel@lists.01.org > Cc: Ni, Ruiyu ; Fan, Jeff > Subject: [edk2] [Patch 1/2] MdePkg SmmAccess2:

Re: [edk2] [Patch 2/2] MdeModulePkg SmmAccess: Update comments to follow PI spec.

2017-07-18 Thread Ni, Ruiyu
Reviewed-by: Ruiyu Ni Thanks/Ray > -Original Message- > From: Dong, Eric > Sent: Wednesday, July 19, 2017 10:38 AM > To: edk2-devel@lists.01.org > Cc: Fan, Jeff ; Ni, Ruiyu > Subject: [Patch 2/2] MdeModulePkg SmmAccess: Update comments to > follow PI spec. > > Cc: Jeff Fan > Cc: Ruiyu

[edk2] [Patch 1/2] MdePkg SmmAccess2: Update comments to follow PI spec.

2017-07-18 Thread Eric Dong
Cc: Jeff Fan Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong --- MdePkg/Include/Protocol/SmmAccess2.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/MdePkg/Include/Protocol/SmmAccess2.h b/MdePkg/Include/Protocol/SmmAccess2

[edk2] [Patch 2/2] MdeModulePkg SmmAccess: Update comments to follow PI spec.

2017-07-18 Thread Eric Dong
Cc: Jeff Fan Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong --- MdeModulePkg/Include/Ppi/SmmAccess.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/MdeModulePkg/Include/Ppi/SmmAccess.h b/MdeModulePkg/Include/Ppi/SmmAccess

[edk2] [Patch 0/2] Update comments to follow spec update.

2017-07-18 Thread Eric Dong
This patches series used to update comments to follow spec update. Eric Dong (2): MdePkg SmmAccess2: Update comments to follow PI spec. MdeModulePkg SmmAccess: Update comments to follow PI spec. MdeModulePkg/Include/Ppi/SmmAccess.h | 5 +++-- MdePkg/Include/Protocol/SmmAccess2.h | 5 +++-- 2

Re: [edk2] [Patch 5/6] edk2: Update to TianoCore Contribution Agreement 1.1

2017-07-18 Thread Jordan Justen
On 2017-07-18 14:17:00, Michael D Kinney wrote: > https://bugzilla.tianocore.org/show_bug.cgi?id=629 > > Update the TianoCore Contribution Agreement from Version 1.0 > to Version 1.1 to cover open source documentation associated > with the TianoCore project. > > Version 1.0 covers source code fil

Re: [edk2] [Patch 4/6] edk2: Remove commit message details from Contributions.txt

2017-07-18 Thread Jordan Justen
On 2017-07-18 14:16:59, Michael D Kinney wrote: > https://bugzilla.tianocore.org/show_bug.cgi?id=629 > > Remove the change description, commit message, and > patch email section from Contributions.txt. This > section is not part of the TianoCore Contribution > Agreement. The information is very

Re: [edk2] [Patch 3/6] edk2: Remove Tiano Contribution Agreement from packages

2017-07-18 Thread Jordan Justen
Why isn't this just squashed in with patch 2? On 2017-07-18 14:16:58, Michael D Kinney wrote: > https://bugzilla.tianocore.org/show_bug.cgi?id=629 > > Cc: Leif Lindholm > Cc: Andrew Fish > Cc: Jordan Justen > Contributed-under: TianoCore Contribution Agreement 1.1 > Signed-off-by: Michael D Ki

[edk2] [Patch 6/6] edk2: Reformat TianoCore Contribution Agreement 1.1

2017-07-18 Thread Michael D Kinney
https://bugzilla.tianocore.org/show_bug.cgi?id=629 Update formatting of Contributions.txt to line wrap at 80 columns. Cc: Leif Lindholm Cc: Andrew Fish Cc: Jordan Justen Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Michael D Kinney --- Contributions.txt | 26 +++

[edk2] [Patch 2/6] edk2: Move Tiano Contribution Agreement to root

2017-07-18 Thread Michael D Kinney
https://bugzilla.tianocore.org/show_bug.cgi?id=629 Cc: Leif Lindholm Cc: Andrew Fish Cc: Jordan Justen Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Michael D Kinney --- AppPkg/Contributions.txt => Contributions.txt | 0 1 file changed, 0 insertions(+), 0 deletions(-)

[edk2] [Patch 5/6] edk2: Update to TianoCore Contribution Agreement 1.1

2017-07-18 Thread Michael D Kinney
https://bugzilla.tianocore.org/show_bug.cgi?id=629 Update the TianoCore Contribution Agreement from Version 1.0 to Version 1.1 to cover open source documentation associated with the TianoCore project. Version 1.0 covers source code files. Version 1.1 is a backwards compatible extension that add

[edk2] [Patch 1/6] BaseTools/PatchCheck: Support Contribution Agreement 1.1

2017-07-18 Thread Michael D Kinney
https://bugzilla.tianocore.org/show_bug.cgi?id=628 Update PatchCheck.py to support either "Contributed-under: TianoCore Contribution Agreement 1.0" or "Contributed-under: TianoCore Contribution Agreement 1.1" in the commit message. Temporarily continue to allow the TianoCore Contribution Agreemen

[edk2] [Patch 0/6] Update to Tiano Contribution Agreement 1.1

2017-07-18 Thread Michael D Kinney
https://bugzilla.tianocore.org/show_bug.cgi?id=628 https://bugzilla.tianocore.org/show_bug.cgi?id=629 New in V2 * Reorder checks in PatchCheck.py and add comments * Split patch series up into more patches * Add more detailed reason for change to commit messages * Rename CONTRIBUTIONS.TXT to Contr

[edk2] [Patch 4/6] edk2: Remove commit message details from Contributions.txt

2017-07-18 Thread Michael D Kinney
https://bugzilla.tianocore.org/show_bug.cgi?id=629 Remove the change description, commit message, and patch email section from Contributions.txt. This section is not part of the TianoCore Contribution Agreement. The information is very important and is provided on the TianoCore web site and wiki

Re: [edk2] [Patch 2/2] edk2: Update to Tiano Contribution Agreement 1.1

2017-07-18 Thread Kinney, Michael D
Hi Jordan, Thanks for the feedback. I will add more background to the commit message from the details in the Bugzilla and in RFC in edk2-devel. I agree to change the filename from CONTRIBUTIONS.txt to Contributions.txt to follow EDK II file name convention. The Free BSD Documentation project wa

Re: [edk2] [Patch 1/2] BaseTools/PatchCheck: Support Contribution Agreement 1.1

2017-07-18 Thread Jordan Justen
On 2017-07-18 08:59:46, Kinney, Michael D wrote: > Hi Jordan, > > I can update the logic. The loop of supported > version values looks good. > > One of the reasons I choose the style I did is that > this patch is intended to be short lived. I would > like to see everyone transition to the new

Re: [edk2] [PATCH v2 2/2] EmbeddedPkg: add Android boot device path and guid

2017-07-18 Thread Leif Lindholm
On Thu, Jul 06, 2017 at 09:29:06PM +0800, Jun Nie wrote: > The device path specifies where to load android boot image. > > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Jun Nie No objections to this one, once you fix the token issue you identified yourself. Reviewed-b

Re: [edk2] [PATCH v2 1/2] EmbeddedPkg/AndroidBoot: boot android kernel from storage

2017-07-18 Thread Leif Lindholm
On Thu, Jul 06, 2017 at 09:29:05PM +0800, Jun Nie wrote: > Add an android kernel loader that could load kernel from storage > device. UEFI can already load a kernel (with the EFI stub) from a storage device. Please explain in the commit message how this support differs from that. What relation do

Re: [edk2] [Patch 1/2] BaseTools/PatchCheck: Support Contribution Agreement 1.1

2017-07-18 Thread Kinney, Michael D
Hi Jordan, I can update the logic. The loop of supported version values looks good. One of the reasons I choose the style I did is that this patch is intended to be short lived. I would like to see everyone transition to the new agreement in their commit messages. I know there are patches in

Re: [edk2] MdeModulePkg/SerialDxe: Inconsistent timeout processing in SerialRead

2017-07-18 Thread Heyi Guo
Hi Star, I think your proposed patch is fine. Thanks. Gary (Heyi Guo) 在 7/18/2017 4:39 PM, Zeng, Star 写道: Gary, SerialDxe is a wrapper of SerialPortLib to produce serial io protocol. If let SerialDxe to handle the TimeOut, seemingly it can only check SerialPortPoll() and read data by Serial

Re: [edk2] [PATCH v2 1/2] EmbeddedPkg/AndroidBoot: boot android kernel from storage

2017-07-18 Thread Jun Nie
2017-07-06 21:29 GMT+08:00 Jun Nie : > Add an android kernel loader that could load kernel from storage > device. This patch is from Haojian's code. The minor change > is that alternative dtb is searched in second loader binary of > Android bootimage if dtb is not found after Linux kernel. > > Cont

Re: [edk2] MdeModulePkg/SerialDxe: Inconsistent timeout processing in SerialRead

2017-07-18 Thread Ni, Ruiyu
Star, Your change looks good. Thanks/Ray > -Original Message- > From: Zeng, Star > Sent: Tuesday, July 18, 2017 4:39 PM > To: Heyi Guo ; edk2-devel@lists.01.org; Ni, Ruiyu > ; Laszlo Ersek (ler...@redhat.com) > > Cc: Zeng, Star > Subject: RE: [edk2] MdeModulePkg/SerialDxe: Inconsistent

Re: [edk2] MdeModulePkg/SerialDxe: Inconsistent timeout processing in SerialRead

2017-07-18 Thread Zeng, Star
Gary, SerialDxe is a wrapper of SerialPortLib to produce serial io protocol. If let SerialDxe to handle the TimeOut, seemingly it can only check SerialPortPoll() and read data by SerialPortRead() one byte by one byte, for example like below. Do you have any proposed patch? Ray and Laszlo, Do you

Re: [edk2] MdeModulePkg/SerialDxe: Inconsistent timeout processing in SerialRead

2017-07-18 Thread Heyi Guo
+cc maintainers :) 在 7/17/2017 12:23 PM, Heyi Guo 写道: Hi Folks, In SerialRead function in MdeModulePkg/Universal/SerialDxe/SerialIo.c, it seems the timeout processing in SerialRead is not consistent. Since SerialPortPoll only checks the status of serial port and returns immediately, and Se

[edk2] [PATCH 5/7] IntelSiliconPkg/dsc: Add Vtd driver.

2017-07-18 Thread Jiewen Yao
Cc: Star Zeng Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao --- IntelSiliconPkg/IntelSiliconPkg.dsc | 31 1 file changed, 31 insertions(+) diff --git a/IntelSiliconPkg/IntelSiliconPkg.dsc b/IntelSiliconPkg/IntelSiliconPkg.dsc index f77f2

[edk2] [PATCH 7/7] IntelSiliconPkg/dsc: Add PlatformVtd sample driver.

2017-07-18 Thread Jiewen Yao
Cc: Star Zeng Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao --- IntelSiliconPkg/IntelSiliconPkg.dsc | 1 + 1 file changed, 1 insertion(+) diff --git a/IntelSiliconPkg/IntelSiliconPkg.dsc b/IntelSiliconPkg/IntelSiliconPkg.dsc index f2625cb..d837d84 100644 ---

[edk2] [PATCH 6/7] IntelSiliconPkg: Add PlatformVTdSample driver.

2017-07-18 Thread Jiewen Yao
It provides sample on Platform VTd policy protocol. This protocol is optional. Cc: Star Zeng Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao --- IntelSiliconPkg/PlatformVTdSampleDxe/PlatformVTdSampleDxe.c| 339 IntelSiliconPkg/Plat

[edk2] [PATCH 2/7] IntelSiliconPkg/Include: Add PlatformVtdPolicy Protocol

2017-07-18 Thread Jiewen Yao
Cc: Star Zeng Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao --- IntelSiliconPkg/Include/Protocol/PlatformVtdPolicy.h | 100 1 file changed, 100 insertions(+) diff --git a/IntelSiliconPkg/Include/Protocol/PlatformVtdPolicy.h b/IntelSilico

[edk2] [PATCH 0/7] Add VTd as IOMMU for UEFI.

2017-07-18 Thread Jiewen Yao
This series patch adds Intel VTd as IOMMU for UEFI BIOS. It can also be found at https://github.com/jyao1/edk2/tree/vtd. EDKII IOMMU protocol is already defined in MdeModulePkg. This patch use VTd to implement IOMMU protocol. A platform may use VTd to harden the system to prevent DMA attack once

[edk2] [PATCH 1/7] IntelSiliconPkg/Include: Add VTD industry standard.

2017-07-18 Thread Jiewen Yao
Cc: Star Zeng Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao --- IntelSiliconPkg/Include/IndustryStandard/Vtd.h | 345 1 file changed, 345 insertions(+) diff --git a/IntelSiliconPkg/Include/IndustryStandard/Vtd.h b/IntelSiliconPkg/Include

[edk2] [PATCH 3/7] IntelSiliconPkg/Dec: Add ProtocolGuid.

2017-07-18 Thread Jiewen Yao
Cc: Star Zeng Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao --- IntelSiliconPkg/IntelSiliconPkg.dec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/IntelSiliconPkg/IntelSiliconPkg.dec b/IntelSiliconPkg/IntelSiliconPkg.dec index 8819cb8..663a232 100644