[edk2] [PATCH] BaseTools: Fix regression issue by b23414f6540d

2018-08-20 Thread Feng, YunhuaX
Fix regression issue by b23414f6540d4f336b6f00b44681911d469f9a04 AttributeError: 'ModuleAutoGen' object has no attribute 'DepexExpressionDict' Cc: Liming Gao Cc: Yonghong Zhu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Yunhua Feng --- BaseTools/Source/Python/build/Bu

[edk2] [PATCH v1 2/2] EmbeddedPkg/Drivers: add DwUsb3Dxe driver

2018-08-20 Thread Haojian Zhuang
Add Designware USB 3.0 device driver. It's focus on USB device functionality, not USB Host functionality. The USB driver is mainly used for Android Fastboot application. Cc: Leif Lindholm Cc: Ard Biesheuvel Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Haojian Zhuang --

[edk2] [PATCH edk-platforms v1 0/4] enable USB on HiKey960

2018-08-20 Thread Haojian Zhuang
Changelog: v1: * Add UsbSerialNumberLib. * Enable USB device driver on HiKey960 platform. Haojian Zhuang (4): Platform/Hisilicon: add UsbSerialNumberLib Platform/HiKey960: add platform usb driver Platform/HiKey960: add fastboot platform driver Platform/HiKey960: enable usb device drive

[edk2] [PATCH edk-platforms v1 3/4] Platform/HiKey960: add fastboot platform driver

2018-08-20 Thread Haojian Zhuang
Implement the Android Fastboot protocol in HiKey960 platform. Cc: Leif Lindholm Cc: Ard Biesheuvel Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Haojian Zhuang --- Platform/Hisilicon/HiKey960/HiKey960FastbootDxe/HiKey960FastbootDxe.inf | 63 ++ Platform/Hisilicon/HiK

[edk2] [PATCH edk-platforms v1 4/4] Platform/HiKey960: enable usb device driver

2018-08-20 Thread Haojian Zhuang
Enable Designware USB 3.0 device driver on HiKey960 platform. Android Fastboot application is based on the USB driver. Cc: Leif Lindholm Cc: Ard Biesheuvel Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Haojian Zhuang --- Platform/Hisilicon/HiKey960/HiKey960.dec | 3 ++

[edk2] [PATCH edk-platforms v1 2/4] Platform/HiKey960: add platform usb driver

2018-08-20 Thread Haojian Zhuang
Register the callbacks of Designware USB 3.0 driver on HiKey960 platform. Cc: Leif Lindholm Cc: Ard Biesheuvel Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Haojian Zhuang --- Platform/Hisilicon/HiKey960/HiKey960UsbDxe/HiKey960UsbDxe.inf | 52 +++ Platform/Hisilicon/H

[edk2] [PATCH V2] BaseTools: Fix regression issue by b23414f6540d

2018-08-20 Thread Feng, YunhuaX
V2: Renaming function DepexExpressionTokenList to DepexExpressionDict instead of changing the callers Fix regression issue by b23414f6540d4f336b6f00b44681911d469f9a04 AttributeError: 'ModuleAutoGen' object has no attribute 'DepexExpressionDict' Cc: Liming Gao Cc: Yonghong Zhu Contributed-under

[edk2] [PATCH v2 7/7] UefiCpuPkg: Remove an unused PCD

2018-08-20 Thread shenglei
The PCD below is unused, so it has been removed from inf. gUefiCpuPkgTokenSpaceGuid.PcdCpuFeaturesSupport Cc: Eric Dong Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: shenglei Reviewed-by: Eric Dong --- UefiCpuPkg/Library/CpuCommonFeaturesLib/CpuCommon

[edk2] [PATCH v2 3/7] MdeModulePkg: Remove unused PCDs

2018-08-20 Thread shenglei
The PCDs below are unused, so they have been removed from inf. gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleMax gEfiMdeModulePkgTokenSpaceGuid.PcdSystemRebootAfterCapsuleProcessFlag gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeSubClassCapsule gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleStatusCodeProcessCap

[edk2] [PATCH v2 4/7] MdePkg: Remove an unused PCD

2018-08-20 Thread shenglei
The PCD below is unused, so it has been removed from inf. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask Cc: Michael D Kinney Cc: Liming Gao Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: shenglei --- MdePkg/Library/BaseLib/BaseLib.inf | 1 - 1 file cha

[edk2] [PATCH v2 2/7] IntelFsp2WrapperPkg: Remove unused PCDs

2018-08-20 Thread shenglei
The PCDs below are unused, so they have been removed from inf. gIntelFsp2WrapperTokenSpaceGuid.PcdFspsBaseAddress gIntelFsp2PkgTokenSpaceGuid.PcdTemporaryRamBase gIntelFsp2PkgTokenSpaceGuid.PcdTemporaryRamSize Cc: Jiewen Yao Cc: Chasel Chiu Cc: Laszlo Ersek Contributed-under: TianoCore Contribu

[edk2] [PATCH] IntelFsp2WrapperPkg: Add EFIAPI to AsmExecute32BitCode

2018-08-20 Thread Chasel, Chiu
AsmExecute32BitCode is assembly code and needs EFIAPI Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Chasel Chiu --- IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/X64/DispatchExecute.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

Re: [edk2] [PATCH] IntelFsp2WrapperPkg: Add EFIAPI to AsmExecute32BitCode

2018-08-20 Thread Yao, Jiewen
Reviewed-by: jiewen@intel.com > -Original Message- > From: Chiu, Chasel > Sent: Tuesday, August 21, 2018 9:44 AM > To: edk2-devel@lists.01.org > Cc: Yao, Jiewen ; Chiu, Chasel > Subject: [PATCH] IntelFsp2WrapperPkg: Add EFIAPI to AsmExecute32BitCode > > AsmExecute32BitCode is assembl

Re: [edk2] [PATCH] IntelFsp2WrapperPkg: Add EFIAPI to AsmExecute32BitCode

2018-08-20 Thread Zeng, Star
Reviewed-by: Star Zeng -Original Message- From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Chasel, Chiu Sent: Tuesday, August 21, 2018 9:44 AM To: edk2-devel@lists.01.org Cc: Yao, Jiewen Subject: [edk2] [PATCH] IntelFsp2WrapperPkg: Add EFIAPI to AsmExecute32BitCode

Re: [edk2] [PATCH v2 3/7] MdeModulePkg: Remove unused PCDs

2018-08-20 Thread Zeng, Star
Shenglei, I think "#include " can be removed from DxeCapsuleLib.c as it does not touch any PCD. Please help evaluate it. If it can be removed indeed, then Reviewed-by: Star Zeng with it removed. Thanks, Star -Original Message- From: Zhang, Shenglei Sent: Tuesday, August 21, 2018 9:

[edk2] [PATCH v2 0/4] Support non-stop mode in heap guard and null detection

2018-08-20 Thread Jian J Wang
> v2 changes: >fix GCC build error Background: Heap Guard and NULL Pointer Detection are very useful features to detect code flaw in EDK II. If an issue is detected, #PF exception will be triggered and the BIOS will enter into dead loop, which is the default behavior of exception handling. Fro

[edk2] [PATCH v2 1/4] MdeModulePkg/MdeModulePkg.dec: add new settings for PCDs

2018-08-20 Thread Jian J Wang
> v2 changes: >n/a BIT6 of PcdHeapGuardPropertyMask is used to enable/disable non-stop mode of Heap Guard feature. It applies to both UEFI and SMM heap guard, if any of them is enabled. BIT6 of PcdNullPointerDetectionPropertyMask is used to enable/disable non-stop mode of NULL Pointer Detecti

[edk2] [PATCH v2 3/4] UefiCpuPkg/CpuDxe: implement non-stop mode for uefi

2018-08-20 Thread Jian J Wang
> v2 changes: >n/a Same as SMM profile feature, a special #PF is used to set page attribute to 'present' and a special #DB handler to reset it back to 'not-present', right after the instruction causing #PF got executed. Since the new #PF handler won't enter into dead-loop, the instruction whi

[edk2] [PATCH v2 2/4] UefiCpuPkg/CpuExceptionHandlerLib: Setup single step in #PF handler

2018-08-20 Thread Jian J Wang
> v2 changes: >n/a Once the #PF handler has set the page to be 'present', there should be a way to reset it to 'not-present'. 'TF' bit in EFLAGS can be used for this purpose. 'TF' bit will be set in interrupted function context so that it can be triggered once the cpu control returns back to t

Re: [edk2] [PATCH V2] BaseTools: Fix regression issue by b23414f6540d

2018-08-20 Thread Zhu, Yonghong
Reviewed-by: Yonghong Zhu Best Regards, Zhu Yonghong -Original Message- From: Feng, YunhuaX Sent: Tuesday, August 21, 2018 8:49 AM To: edk2-devel@lists.01.org Cc: Zhu, Yonghong ; Gao, Liming ; Carsey, Jaben Subject: [PATCH V2] BaseTools: Fix regression issue by b23414f6540d V2: Ren

[edk2] [Patch] MdeModulePkg/PiSmmCore: Check valid memory range.

2018-08-20 Thread Eric Dong
Call BS.AllocatePages in DXE driver and call SMM FreePages with the address of the buffer allocated in the DXE driver. SMM FreePages success and add a non-SMRAM range into SMM heap list. This is not an expected behavior. SMM FreePages should return error for this case and not free the pages. BZ

Re: [edk2] [PATCH v2 7/7] ArmPkg: Extra action to update permissions for S-ELO MM Image

2018-08-20 Thread Sughosh Ganu
hi Ard, On Tue July 23, 2018 at 11:03PM +0530, Supreeth Venkatesh wrote: > > On Sat, 2018-07-21 at 20:06 +0900, Ard Biesheuvel wrote: > > On 20 July 2018 at 21:38, Sughosh Ganu wrote: > > > > > > From: Achin Gupta > > > > > > The Standalone MM drivers runs in S-EL0 in AArch64 on ARM Standard >