[edk2] [PATCH v2 3/4] Platform/Hisilicon: move out dxe runtime lib from common file

2018-02-09 Thread Haojian Zhuang
With the SerialPortLib and DebugLib, Dxe runtime driver can't be executed well on HiKey. Serial logs are missing. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Haojian Zhuang --- Platform/Hisilicon/D02/Pv660D02.dsc | 2 ++

[edk2] [PATCH v2 2/4] Platform/Hisilicon/HiKey: use Hisilicon common file

2018-02-09 Thread Haojian Zhuang
Use common file Hisilicon.dsc.inc/Hisilicon.fdf.inc to reduce redundant contents in both HiKey.dsc and HiKey.fdf. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Haojian Zhuang --- Platform/Hisilicon/HiKey/HiKey.dsc | 204

[edk2] [PATCH v2 4/4] Platform/Hisilicon/HiKey960: add skeleton of HiKey960

2018-02-09 Thread Haojian Zhuang
Add skeleton of HiKey960 platform. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Haojian Zhuang --- Platform/Hisilicon/HiKey960/HiKey960.dsc | 260 + Platform/Hisilicon/HiKey960/HiKey960.fdf | 214

[edk2] [PATCH v2 1/4] Platform/Hisilicon/HiKey: include DxePcdLib for HiiDatabase

2018-02-09 Thread Haojian Zhuang
Include DxePcdLib for HiiDatabase. Otherwise, PlatformBootManager can't be launched successfully. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Haojian Zhuang --- Platform/Hisilicon/HiKey/HiKey.dsc | 7 +-- 1 file changed, 5 insertions(+),

[edk2] [PATCH v2 0/4] support HiKey960

2018-02-09 Thread Haojian Zhuang
v2: * Use Hisilicon common file. * Move SerialPorLib & DebugLib of DXE_RUNTIME out of Hisilicon.dsc.inc. * Remove unused PCD values from HiKey960 dsc file. * Fix to enter boot manager on HiKey. v1: * Support the skeleton of HiKey960. Haojian Zhuang (4): Platform/Hisilicon/HiKey:

Re: [edk2] [Linaro-uefi] [issue] Arrow key can't be read on tty terminal in release build

2018-02-09 Thread Jeremy Linton
Hi, On 02/07/2018 09:50 AM, Haojian Zhuang wrote: Hi all, I have an issue on tty terminal. I setup PL011 serial console as the tty terminal on HiKey platform. When it's built in debug mode, arrow key works well. When it's built in release mode, arrow key can't work. For example, DOWN key is

Re: [edk2] [PATCH edk2-platforms] Platform/Hisilicon: fix D03/D05 capsule image names

2018-02-09 Thread Leif Lindholm
On Fri, Feb 09, 2018 at 01:20:16PM +, Ard Biesheuvel wrote: > On 9 February 2018 at 13:16, Leif Lindholm wrote: > > Due to copy-paste error, both d03 and d05 ended up with capsule sections > > named Capsule.StyxFirmwareUpdateCapsuleFmpPkcs7 in their .fdf files. > >

[edk2] [PATCH edk2-platforms] Platform/Hisilicon: fix D03/D05 capsule image names

2018-02-09 Thread Leif Lindholm
Due to copy-paste error, both d03 and d05 ended up with capsule sections named Capsule.StyxFirmwareUpdateCapsuleFmpPkcs7 in their .fdf files. Change these to the actual platform names. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Leif Lindholm

[edk2] [PATCH 1/2] Silicon/NXP: Add Modified SPI protocol stack

2018-02-09 Thread Pankaj Bansal
The PI 1.6 SPI specs are not adequate to handle all type of SPI communication, specially the QUAD mode read/write comminications with the periphrals that support it. Therefore we are modifying the SPI protocol defined in PI 1.6 spec. Untill these changes are incorporated in PI specs, we are

[edk2] [PATCH 2/2] NXP/SpiBusDxe: Add SPI Bus driver.

2018-02-09 Thread Pankaj Bansal
This Driver is based on revised PI 1.6 SPI specs. This driver is DXE_RUNTIME_DRIVER, so that the SPI peripherals that are needed to support runtime services can be used with this driver. This driver follows UEFI driver model and its a Bus Driver that creates all of its child handles on the first

[edk2] [RFC] MdePkg/BaseLib: Change BitField functions.

2018-02-09 Thread Pankaj Bansal
The bit field functions in MdePkg are not working as expected. The restrictions on Value parameter such that Value should not be greater than the bitmask value range specified by StartBit and EndBit doesn't seem to make sense. Also the restriction on End bit to not be equal to start bit prohibits

Re: [edk2] [Patch 2/2] NetworkPkg: Read TlsCipherList variable and configure it for HTTPS session.

2018-02-09 Thread Laszlo Ersek
On 02/09/18 04:59, Jiaxin Wu wrote: > This patch is to read the TlsCipherList variable and configure it for the > later HTTPS session. > > If the variable is not set by any platform, EFI_NOT_FOUND will be returned > from GetVariable service. In such a case, the default CipherList created in >

Re: [edk2] [Patch 0/2] NetworkPkg: Support the platform to configure TLS CipherList.

2018-02-09 Thread Laszlo Ersek
On 02/09/18 06:22, Fu, Siyuan wrote: > Hi, Jiaxin > > I think we can remove the "TlsCipherList.h" to another name like > "HttpTlsCipherListVariable.h" to highlight that the variable is only > used for HTTP configuration. And also the variable name and GUID > name. If we are renaming

Re: [edk2] [PATCH 1/2] BeagleBoardPkg: drop unused PcdCacheEnabled dependency

2018-02-09 Thread Leif Lindholm
On Thu, Feb 08, 2018 at 07:22:33PM +, Ard Biesheuvel wrote: > On 8 February 2018 at 19:19, Leif Lindholm wrote: > > Commit f72df138 got rid of the use of PcdCacheEnabled, but failed to > > actually drop it as a dependency for BeagleBoardLib. > > > > Get rid of it, so

Re: [edk2] [PATCH edk2-platforms 1/3] Platform/(AMD|LeMaker|SoftIron), Silicon/AMD: drop unused PcdCacheEnabled

2018-02-09 Thread Leif Lindholm
On Thu, Feb 08, 2018 at 07:46:49PM +, Ard Biesheuvel wrote: > On 8 February 2018 at 19:30, Leif Lindholm wrote: > > PcdCacheEnabled was never useful for these platforms, but they copied it > > over from other platforms used as templates. > > Delete it here to keep

Re: [edk2] [patch] MdeModulePkg/PerfLib: Add NULL pointer check for "Token"

2018-02-09 Thread Gao, Liming
Reviewed-by: Liming Gao >-Original Message- >From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of >Dandan Bi >Sent: Friday, February 09, 2018 4:04 PM >To: edk2-devel@lists.01.org >Cc: Yao, Jiewen ; Zeng, Star

Re: [edk2] [PATCH] BaseTool: correct the generate compress section process

2018-02-09 Thread Gao, Liming
Reviewed-by: Liming Gao >-Original Message- >From: Feng, YunhuaX >Sent: Friday, February 09, 2018 4:06 PM >To: edk2-devel@lists.01.org >Cc: Zhu, Yonghong ; Gao, Liming > >Subject: [PATCH] BaseTool: correct the generate

Re: [edk2] [PATCH v2 0/7] Remove the useless pref codes

2018-02-09 Thread Bi, Dandan
Thank you star. I will update them before committing the patches. Thanks, Dandan -Original Message- From: Zeng, Star Sent: Friday, February 9, 2018 4:31 PM To: Bi, Dandan ; edk2-devel@lists.01.org Cc: Ni, Ruiyu ; Dong, Eric ;

Re: [edk2] [PATCH v2 0/7] Remove the useless pref codes

2018-02-09 Thread Zeng, Star
Hi Dandan, Two minor comments, with them handled, Reviewed-by: Star Zeng to the patch series. :) 1. Put the first patch to the last patch as it is to remove the definition and should be done at last. 2. Fix typo 'pref' to 'perf', and 'new new' to 'new'. Thanks, Star

[edk2] [PATCH v2 4/7] MdeModulePkg/UefiBootManagerLib: Remove the useless pref codes

2018-02-09 Thread Dandan Bi
V2: Just update the commit message to reference the hash value of new new performance infrastructure. Our new performance infrastructure (edk2 trunk commit hash value: SHA-1: 73fef64f14d1b97ae9bd4705df3becc022391eba ~ SHA-1: 115eae650bfd2be2c2bc37360f4a755065e774c4) can support to dump

[edk2] [PATCH v2 2/7] UefiCpuPkg/S3Resume: Remove useless pref code

2018-02-09 Thread Dandan Bi
V2: Just update the commit message to reference the hash value of new new performance infrastructure. Our new performance infrastructure (edk2 trunk commit hash value: SHA-1: 73fef64f14d1b97ae9bd4705df3becc022391eba ~ SHA-1: 115eae650bfd2be2c2bc37360f4a755065e774c4)can support to dump performance

[edk2] [PATCH v2 3/7] MdeModulePkg/BdsDxe: Remove useless Pref Code

2018-02-09 Thread Dandan Bi
V2: Just update the commit message to reference the hash value of new new performance infrastructure. Our new performance infrastructure (edk2 trunk commit hash value: SHA-1: 73fef64f14d1b97ae9bd4705df3becc022391eba ~ SHA-1: 115eae650bfd2be2c2bc37360f4a755065e774c4) can support to dump

[edk2] [PATCH v2 5/7] IntelFrameworkModulePkg/BdsDxe: Remove the useless Perf codes

2018-02-09 Thread Dandan Bi
Our new performance infrastructure (edk2 trunk commit hash value: SHA-1: 73fef64f14d1b97ae9bd4705df3becc022391eba ~ SHA-1: 115eae650bfd2be2c2bc37360f4a755065e774c4) can support to dump performance date form ACPI table in OS. So we can remove the old pref code to write performance data to OS. Cc:

[edk2] [PATCH] BaseTool: correct the generate compress section process

2018-02-09 Thread Feng, YunhuaX
First generate a dummy file with section alignment, then compress the dummy file to generate the compress file Cc: Liming Gao Cc: Yonghong Zhu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Yunhua Feng

[edk2] [PATCH v2 6/7] IntelFrameworkModulePkg/GenericBdsLib: Remove the useless Perf codes

2018-02-09 Thread Dandan Bi
Our new performance infrastructure (edk2 trunk commit hash value: SHA-1: 73fef64f14d1b97ae9bd4705df3becc022391eba ~ SHA-1: 115eae650bfd2be2c2bc37360f4a755065e774c4) can support to dump performance date form ACPI table in OS. So we can remove the old pref code to write performance data to OS. Cc:

[edk2] [PATCH v2 0/7] Remove the useless pref codes

2018-02-09 Thread Dandan Bi
V2: a. Remove defintions related to old perf code and clean all useless perf codes in edk2 code base. b.Update commit message. Our new performance infrastructure (edk2 trunk commit hash value: SHA-1: 73fef64f14d1b97ae9bd4705df3becc022391eba ~ SHA-1: 115eae650bfd2be2c2bc37360f4a755065e774c4) can

[edk2] [PATCH v2 1/7] MdeModulePkg/Performance.h: Remove the useless definition

2018-02-09 Thread Dandan Bi
Remove the definitions related to old perf codes. Cc: Star Zeng Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi --- MdeModulePkg/Include/Guid/Performance.h | 27

[edk2] [patch] MdeModulePkg/PerfLib: Add NULL pointer check for "Token"

2018-02-09 Thread Dandan Bi
"Token" is passed through the perf entry, it's may be NULL. So we need to add NULL pointer check before reference it. Cc: Liming Gao Cc: Star Zeng Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.1