[edk2-devel] [PATCH v2] IntelFsp2Pkg: FSP Python scripts to support 3.x.

2019-06-30 Thread Chiu, Chasel
https://bugzilla.tianocore.org/show_bug.cgi?id=1930 Updated FSP Python scripts to support both 2.x and 3.x. Test: . Verified with Python 2.7.12 and 3.6.6. . Verified tool result is the same before the change. . Both py -2 and py -3 built binary can boot. Cc: Maurice Ma Cc: Nate DeSimone

[edk2-devel] [PATCH v2] MinPlatformPkg: FSP Python script to python 3.x.

2019-06-30 Thread Chiu, Chasel
https://bugzilla.tianocore.org/show_bug.cgi?id=1930 Updated FSP Python script to support both 2.x and 3.x. Test: . Verified with Python 2.7.12 and 3.6.6. . Verified tool result is the same before the change. . Both py -2 and py -3 built binary can boot. Cc: Michael Kubacki Cc: Nate DeSimo

Re: [edk2-devel] [PATCH] MdeModulePkg SmbiosMeasurementDxe: Add Type4 Voltage field to blacklist

2019-06-30 Thread Wu, Hao A
> -Original Message- > From: Zeng, Star > Sent: Thursday, June 27, 2019 7:15 PM > To: devel@edk2.groups.io > Cc: Zeng, Star; Wang, Jian J; Wu, Hao A; Ni, Ray; Kuo, Donald; Chiu, Chasel > Subject: [PATCH] MdeModulePkg SmbiosMeasurementDxe: Add Type4 > Voltage field to blacklist > > BZ: http

Re: [edk2-devel] [edk2-non-osi Patch] Vlv2SocBinPkg: Add initial binaries for Vlv2TbltDevicePkg

2019-06-30 Thread rebecca
On 2019-06-30 21:07, Michael D Kinney wrote: > Add the initial version of the binaries required to > build Vlv2TbltDevicePkg in the edk2-platform repository Since the patch is 6.1MB, people should probably be careful to trim replies to remove most of the content to avoid overloading people's inbo

Re: [edk2-devel] [edk2-platforms Patch 11/14] Vlv2TbltDevicePkg: Update boot mode/state behaviors

2019-06-30 Thread Sun, Zailiang
Reviewed-By: Zailiang Sun -Original Message- From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of Michael D Kinney Sent: Monday, July 01, 2019 10:56 AM To: devel@edk2.groups.io Cc: Sun, Zailiang ; Qian, Yi Subject: [edk2-devel] [edk2-platforms Patch 11/14] Vlv2TbltDevic

Re: [edk2-devel] [edk2-platforms Patch 14/14] Vlv2TbltDevicePkg/PlatformInitPei: Update MemoryTypeInformation

2019-06-30 Thread Sun, Zailiang
Reviewed-By: Zailiang Sun -Original Message- From: Kinney, Michael D Sent: Monday, July 01, 2019 10:56 AM To: devel@edk2.groups.io Cc: Sun, Zailiang ; Qian, Yi Subject: [edk2-platforms Patch 14/14] Vlv2TbltDevicePkg/PlatformInitPei: Update MemoryTypeInformation Reduce extra reboots wh

Re: [edk2-devel] [edk2-platforms Patch 13/14] Vlv2TbltDevicePkg: Change to PI Spec ACPI Table Protocol

2019-06-30 Thread Sun, Zailiang
Reviewed-By: Zailiang Sun -Original Message- From: Kinney, Michael D Sent: Monday, July 01, 2019 10:56 AM To: devel@edk2.groups.io Cc: Sun, Zailiang ; Qian, Yi Subject: [edk2-platforms Patch 13/14] Vlv2TbltDevicePkg: Change to PI Spec ACPI Table Protocol Remove use of ACPI Support Pro

Re: [edk2-devel] [edk2-platforms Patch 12/14] Vlv2TbltDevicePkg/PlatformSmm: Switch to PI SMM Protocols

2019-06-30 Thread Sun, Zailiang
Reviewed-By: Zailiang Sun -Original Message- From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of Michael D Kinney Sent: Monday, July 01, 2019 10:56 AM To: devel@edk2.groups.io Cc: Sun, Zailiang ; Qian, Yi Subject: [edk2-devel] [edk2-platforms Patch 12/14] Vlv2TbltDevi

Re: [edk2-devel] [edk2-platforms Patch 09/14] Vlv2TbltDevicePkg: Use PI Spec SMBUS2 PPI

2019-06-30 Thread Sun, Zailiang
Reviewed-By: Zailiang Sun -Original Message- From: Kinney, Michael D Sent: Monday, July 01, 2019 10:56 AM To: devel@edk2.groups.io Cc: Sun, Zailiang ; Qian, Yi Subject: [edk2-platforms Patch 09/14] Vlv2TbltDevicePkg: Use PI Spec SMBUS2 PPI * Switch from Intel Framework SMBUS PPI to the

Re: [edk2-devel] [edk2-platforms Patch 06/14] Vlv2TbltDevicePkg: Remove use of PS/2 Policy Protocol

2019-06-30 Thread Sun, Zailiang
Reviewed-By: Zailiang Sun -Original Message- From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of Michael D Kinney Sent: Monday, July 01, 2019 10:56 AM To: devel@edk2.groups.io Cc: Sun, Zailiang ; Qian, Yi Subject: [edk2-devel] [edk2-platforms Patch 06/14] Vlv2TbltDevic

Re: [edk2-devel] [edk2-platforms Patch 05/14] Vlv2TbltDevicePkg: Switch to CPU I/O 2 Protocol

2019-06-30 Thread Sun, Zailiang
Reviewed-By: Zailiang Sun -Original Message- From: Kinney, Michael D Sent: Monday, July 01, 2019 10:56 AM To: devel@edk2.groups.io Cc: Sun, Zailiang ; Qian, Yi Subject: [edk2-platforms Patch 05/14] Vlv2TbltDevicePkg: Switch to CPU I/O 2 Protocol * Remove unused references to CPU I/O P

Re: [edk2-devel] [edk2-platforms Patch 04/14] Vlv2TbltDevicePkg: Switch from ISA to SIO modules

2019-06-30 Thread Sun, Zailiang
Reviewed-By: Zailiang Sun -Original Message- From: Kinney, Michael D Sent: Monday, July 01, 2019 10:56 AM To: devel@edk2.groups.io Cc: Sun, Zailiang ; Qian, Yi Subject: [edk2-platforms Patch 04/14] Vlv2TbltDevicePkg: Switch from ISA to SIO modules Remove IntelFrameworkModulePkg ISA re

Re: [edk2-devel] [edk2-platforms Patch 00/14] Vlv2TbltDevicePkg: Remove Intel Framework dependencies

2019-06-30 Thread Gary Lin
On Sun, Jun 30, 2019 at 07:55:39PM -0700, Michael D Kinney wrote: > The following changes remove all dependencies on the IntelFrameworkPkg and > IntelFrameworkModulePkg from the Vlv2TbltDevicePkg platform builds. These > changes do depend on updates binaries on the edk2-non-osi repository. >

Re: [edk2-devel] [edk2-platforms Patch 01/14] Vlv2DeviceRefCodePkg: Add gEfiSmmIchnDispatchProtocolGuid

2019-06-30 Thread Sun, Zailiang
Reviewed-By: Zailiang Sun -Original Message- From: Kinney, Michael D Sent: Monday, July 01, 2019 10:56 AM To: devel@edk2.groups.io Cc: Sun, Zailiang ; Qian, Yi Subject: [edk2-platforms Patch 01/14] Vlv2DeviceRefCodePkg: Add gEfiSmmIchnDispatchProtocolGuid * Add the gEfiSmmIchnDispatch

Re: [edk2-devel] [PATCH] BaseTools:Linux changes the way the latest version is judged

2019-06-30 Thread Liming Gao
Push@39744883933eea9674ccaf243cbf565966b8fa74 From: Fan, ZhijuX Sent: Friday, June 28, 2019 3:49 PM To: devel@edk2.groups.io; rebe...@bluestop.org Cc: Gao, Liming ; Feng, Bob C Subject: RE: [edk2-devel] [PATCH] BaseTools:Linux changes the way the latest version is judged Hi: You're right, but

Re: [edk2-devel] [PATCH] Fix indentation in edksetup.sh SetupPython3

2019-06-30 Thread Liming Gao
Thanks! Push @aecad6c1cb21aee448ce2a0de0913f227a121f85 >-Original Message- >From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of >rebe...@bluestop.org >Sent: Friday, June 28, 2019 11:30 PM >To: devel@edk2.groups.io; Gao, Liming ; Feng, Bob C >; Fan, ZhijuX >Subject: Re:

Re: [edk2-devel] [PATCH v1 0/5] Clean up acpiview input parameters

2019-06-30 Thread Gao, Zhichao
Series: Reviewed-by: Zhichao Gao > -Original Message- > From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of > Krzysztof Koch > Sent: Friday, June 28, 2019 4:57 PM > To: devel@edk2.groups.io > Cc: Carsey, Jaben ; Ni, Ray ; > Gao, Zhichao ; sami.muja...@arm.com; > matteo.c

Re: [edk2-devel] [PATCH v1 1/4] ShellPkg: acpiview: Improve PPTT table field validation

2019-06-30 Thread Gao, Zhichao
Minor comment on ValidateCacheAssociativity: > -Original Message- > From: Krzysztof Koch [mailto:krzysztof.k...@arm.com] > Sent: Friday, June 28, 2019 6:25 PM > To: devel@edk2.groups.io > Cc: Carsey, Jaben ; Ni, Ray ; > Gao, Zhichao ; sami.muja...@arm.com; > matteo.carl...@arm.com; n...@ar

[edk2-devel] [edk2-platforms Patch 05/14] Vlv2TbltDevicePkg: Switch to CPU I/O 2 Protocol

2019-06-30 Thread Michael D Kinney
* Remove unused references to CPU I/O Protocol defined in IntelFrameworkPkg * Convert valid usage of CPU I/O Protocol to the CPU I/O 2 Protocol Cc: Zailiang Sun Cc: Yi Qian Signed-off-by: Michael D Kinney --- .../AcpiPlatform/AcpiPlatform.c | 47 --- .../AcpiPlatf

[edk2-devel] [edk2-platforms Patch 04/14] Vlv2TbltDevicePkg: Switch from ISA to SIO modules

2019-06-30 Thread Michael D Kinney
Remove IntelFrameworkModulePkg ISA related modules and replace with MdeModulePkg SIO modules. * Retire Wpce791 module * Retire gEfiLpcWpce791PolicyProtocolGuid and include file * Retire gEfiLpcWpc83627PolicyProtocolGuid and include file * Remove production of gEfiLpcWpc83627PolicyProtocolGuid from

[edk2-devel] [edk2-platforms Patch 14/14] Vlv2TbltDevicePkg/PlatformInitPei: Update MemoryTypeInformation

2019-06-30 Thread Michael D Kinney
Reduce extra reboots when UEFI Shell is run followed by an OS boot. The extra reboot is due to use of EfiLoaderCode that exceeds the MemoryTypeInformation bin size. EfiLoaderCode should not be tracked. Remove all memory types that should not be tracked, and update the remaining bin sizes based on

[edk2-devel] [edk2-platforms Patch 01/14] Vlv2DeviceRefCodePkg: Add gEfiSmmIchnDispatchProtocolGuid

2019-06-30 Thread Michael D Kinney
* Add the gEfiSmmIchnDispatchProtocolGuid from the IntelFrameworkPkg to the Si specific Vlv2TbltDevicePkg. This removes a dependency on the IntelFrameworkPkg and adds a Si specific protocol to a Si package. Cc: Zailiang Sun Cc: Yi Qian Signed-off-by: Michael D Kinney --- .../Include/Pro

[edk2-devel] [edk2-platforms Patch 12/14] Vlv2TbltDevicePkg/PlatformSmm: Switch to PI SMM Protocols

2019-06-30 Thread Michael D Kinney
Change use of Intel Framework SMM Protocols to PI SMM Protocols. This removes Intel Framework dependencies. The PI SMM Protocols added are: * gEfiSmmPowerButtonDispatch2ProtocolGuid * gEfiSmmSxDispatch2ProtocolGuid * gEfiSmmSwDispatch2ProtocolGuid Cc: Zailiang Sun Cc: Yi Qian Signed-off-by: Mic

[edk2-devel] [edk2-platforms Patch 11/14] Vlv2TbltDevicePkg: Update boot mode/state behaviors

2019-06-30 Thread Michael D Kinney
* Add platform specific PcdBootState PCD to remove Intel Framework dependency * Set PcdUserPhysicalPresence to TRUE to Enable UEFI Secure Boot Setup Menus * Remove unused code when NOCS_S3_SUPPORT is not set * Update PlatformBootManagerLib to not perform a connect all when FastBoot is enabled

[edk2-devel] [edk2-platforms Patch 00/14] Vlv2TbltDevicePkg: Remove Intel Framework dependencies

2019-06-30 Thread Michael D Kinney
The following changes remove all dependencies on the IntelFrameworkPkg and IntelFrameworkModulePkg from the Vlv2TbltDevicePkg platform builds. These changes do depend on updates binaries on the edk2-non-osi repository. * Vlv2DeviceRefCodePkg: Add gEfiSmmIchnDispatchProtocolGuid * Vlv2TbltDevice

[edk2-devel] [edk2-platforms Patch 09/14] Vlv2TbltDevicePkg: Use PI Spec SMBUS2 PPI

2019-06-30 Thread Michael D Kinney
* Switch from Intel Framework SMBUS PPI to the PI Spec SMBUS2 PPI. * Remove unused SmbusLib. Use SmbusLibNull instead. Cc: Zailiang Sun Cc: Yi Qian Signed-off-by: Michael D Kinney --- .../Include/Guid/PlatformInfo.h | 9 +- .../BoardClkGens/BoardClkGens.c | 23

[edk2-devel] [edk2-platforms Patch 13/14] Vlv2TbltDevicePkg: Change to PI Spec ACPI Table Protocol

2019-06-30 Thread Michael D Kinney
Remove use of ACPI Support Protocol from IntelFrameworkPkg and use the ACPI Table Protocol and ACPI SDT Protocol from the MdePkg. Cc: Zailiang Sun Cc: Yi Qian Signed-off-by: Michael D Kinney --- .../AcpiPlatform/AcpiPlatform.c | 72 +-- .../AcpiPlatform/AcpiPlatfo

[edk2-devel] [edk2-platforms Patch 06/14] Vlv2TbltDevicePkg: Remove use of PS/2 Policy Protocol

2019-06-30 Thread Michael D Kinney
This platform does not have a PS/2 controller, so remove all references to the PS/2 Policy Protocol. Cc: Zailiang Sun Cc: Yi Qian Signed-off-by: Michael D Kinney --- .../Vlv2TbltDevicePkg/AcpiPlatform/AcpiPlatform.c | 15 --- 1 file changed, 15 deletions(-) diff --git a/Platform/I

Re: [edk2-devel] [PATCH] SecurityPkg/DxeDeferImageLoadLib: Remove DxeDeferImageLoadLib

2019-06-30 Thread Yao, Jiewen
Reviewed-by: jiewen@intel.com > -Original Message- > From: Zhang, Shenglei > Sent: Thursday, June 20, 2019 9:31 AM > To: devel@edk2.groups.io > Cc: Zhang, Chao B ; Yao, Jiewen > ; Wang, Jian J > Subject: [PATCH] SecurityPkg/DxeDeferImageLoadLib: Remove > DxeDeferImageLoadLib > > The

Re: [edk2-devel] [Patch] MdeModulePkg/PiSmmCore: Use unique structure signatures

2019-06-30 Thread Wang, Jian J
Reviewed-by: Jian J Wang > -Original Message- > From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of > Michael D Kinney > Sent: Saturday, June 29, 2019 4:19 AM > To: devel@edk2.groups.io > Cc: Wang, Jian J ; Wu, Hao A > ; Ni, Ray ; Zeng, Star > ; Yao, Jiewen > Subject

Re: [edk2-devel] [PATCH] SecurityPkg: Remove DxeDeferImageLoadLib in DSC

2019-06-30 Thread Wang, Jian J
Reviewed-by: Jian J Wang > -Original Message- > From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of > Zhang, Shenglei > Sent: Monday, July 01, 2019 10:33 AM > To: devel@edk2.groups.io > Cc: Zhang, Chao B ; Yao, Jiewen > ; Wang, Jian J > Subject: [edk2-devel] [PATCH] Se

[edk2-devel] [PATCH] SecurityPkg: Remove DxeDeferImageLoadLib in DSC

2019-06-30 Thread Zhang, Shenglei
The current version will cause build fail because DxeDeferImageLoadLib exists in DSC file but it was actually deleted. So it should be remove. https://bugzilla.tianocore.org/show_bug.cgi?id=1919 Cc: Chao Zhang Cc: Jiewen Yao Cc: Jian Wang Signed-off-by: Shenglei Zhang --- SecurityPkg/Security

Re: [edk2-devel] May I become a contributor in EmulatorPkg ?

2019-06-30 Thread Hiber He
Hi, (Sorry for the previous incomplete email!) For the second one: Dai already pointed out the problem, a ending slash(\) should be added to the nasm path variable. You can find the how nasm path is processed in edksetup.bat: :check_NASM if not defined NASM_PREFIX ( @echo. @e

Re: [edk2-devel] May I become a contributor in EmulatorPkg ?

2019-06-30 Thread Hiber He
Hi, For the second one: Dai already pointed out the problem, a ending slash(\) should be added to the nasm path variable. You can find the following On 06/30/2019 21:22, Ni, Ray wrote: Bob, Any comments? From:戴,曉政 [mailto:cloud0...@yahoo.com.tw] Sent: Sunday, June 30, 2019 3:37

Re: [edk2-devel] [PATCH] MdeModulePkg SmbiosMeasurementDxe: Add Type4 Voltage field to blacklist

2019-06-30 Thread Chiu, Chasel
Reviewed-by: Chasel Chiu > -Original Message- > From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of Zeng, > Star > Sent: Thursday, June 27, 2019 7:15 PM > To: devel@edk2.groups.io > Cc: Zeng, Star ; Wang, Jian J ; > Wu, > Hao A ; Ni, Ray ; Kuo, Donald > ; Chiu, Chasel

Re: [edk2-devel] [PATCH v4 0/2] MdeModulePkg/SdMmcHcDxe: Implement revision 3 of SdMmcOverrideProtocol

2019-06-30 Thread Wu, Hao A
Hello Marcin, Thanks for the verification. The series has been pushed via commits a37e18f6fc..adec1f5deb. Please help to raise if there is any help needed. Best Regards, Hao Wu From: Marcin Wojtas [mailto:m...@semihalf.com] Sent: Friday, June 28, 2019 4:58 PM To: Albecki, Mateusz Cc: devel@edk2

Re: [edk2-devel] [PATCH v2] MdeModulePkg/UfsPassThruDxe: Fix unaligned data transfer handling

2019-06-30 Thread Wu, Hao A
> -Original Message- > From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of > Wu, Hao A > Sent: Thursday, June 27, 2019 9:08 AM > To: Albecki, Mateusz; devel@edk2.groups.io > Subject: Re: [edk2-devel] [PATCH v2] MdeModulePkg/UfsPassThruDxe: Fix > unaligned data transfer han

Re: [edk2-devel] May I become a contributor in EmulatorPkg ?

2019-06-30 Thread Ni, Ray
Bob, Any comments? From: 戴,曉政 [mailto:cloud0...@yahoo.com.tw] Sent: Sunday, June 30, 2019 3:37 PM To: Justen, Jordan L ; af...@apple.com; Ni, Ray Subject: May I become a contributor in EmulatorPkg ? Dears, I live in Taiwan so please forgive my English pool. I download edk2 source code from G

Re: [edk2-devel] [PATCH] OvmfPkg/XenBusDxe: Close XenIoProtocol openned by childs

2019-06-30 Thread Laszlo Ersek
Hi Anthony, the patch is good; please post a v2 with the following minor improvements: On 06/28/19 18:16, Anthony PERARD wrote: > In XenBusDxe, the XenBusAddDevice() opens the gXenIoProtocolGuid on > behalf of child controllers. It is never closed and prevent from (1) s/prevent/prevents us/ > u