[edk2] [PATCH edk2-platforms v3 05/15] Hisilicon D03/D05: Add capsule upgrade support

2018-02-02 Thread Heyi Guo
This module support updating the boot CPU firmware only. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jason Zhang <zhangjinso...@huawei.com> Signed-off-by: Ming Huang <huangmin...@huawei.com> Signed-off-by: Heyi Guo <heyi@linaro.org> Reviewed-

[edk2] [PATCH edk2-platforms v3 15/15] Hisilicon D03/D05: Update firmware version to 18.02

2018-02-02 Thread Heyi Guo
Replace the old string with short one. The old one is too long that can not be show integrallty in Setup nemu. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ming Huang <huangmin...@huawei.com> Signed-off-by: Heyi Guo <heyi@linaro.org> Reviewed-by: L

[edk2] [PATCH edk2-platforms v3 13/15] Hisilicon/D05/ACPI: Add ITS PXM

2018-02-02 Thread Heyi Guo
Add ITS affinity structure in SRAT. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ming Huang <huangmin...@huawei.com> Signed-off-by: Heyi Guo <heyi@linaro.org> Reviewed-by: Ard Biesheuvel <ard.biesheu...@linaro.org> Reviewed-by: Graeme Gregory &

[edk2] [PATCH edk2-platforms v3 11/15] Hisilicon/D05: Replace SP805Watchdog by WatchdogTimer driver.

2018-02-02 Thread Heyi Guo
In SCT test,we find SP805 watchdog driver can't reset when timeout so we use another driver in MdeModulePkg. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ming Huang <huangmin...@huawei.com> Signed-off-by: Heyi Guo <heyi@linaro.org> Signed-off-by:

[edk2] [PATCH edk2-platforms v3 04/15] Hisilicon/D0x: Break BMC SetBoot option out into separate library

2018-02-02 Thread Heyi Guo
Modify the feature of BMC set boot option as switching generic BDS. Break BMC SetBoot option out into BmcConfigBootLib. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ming Huang <huangmin...@huawei.com> Signed-off-by: Heyi Guo <heyi@linaro.org> Revie

[edk2] [PATCH edk2-platforms v3 09/15] Hisilicon/Smbios: Indicate use of ProcessorFamily2 in type 4 table

2018-02-02 Thread Heyi Guo
-by: Ming Huang <huangmin...@huawei.com> Signed-off-by: Heyi Guo <heyi@linaro.org> Reviewed-by: Leif Lindholm <leif.lindh...@linaro.org> Reviewed-by: Ard Biesheuvel <ard.biesheu...@linaro.org> --- Silicon/Hisilicon/Drivers/Smbios/ProcessorSubClassDxe/ProcessorSubClass.c |

[edk2] [PATCH edk2-platforms v3 10/15] Hisilicon/PCIe: Disable PCIe ASPM

2018-02-02 Thread Heyi Guo
com> Signed-off-by: Heyi Guo <heyi@linaro.org> Signed-off-by: Yan Zhang <zhangya...@huawei.com> Reviewed-by: Leif Lindholm <leif.lindh...@linaro.org> Reviewed-by: Ard Biesheuvel <ard.biesheu...@linaro.org> --- Silicon/Hisilicon/Hi1610/Drivers/Pc

[edk2] [PATCH edk2-platforms v3 07/15] Hisilicon D03/D05: Open SnpPlatform source code

2018-02-02 Thread Heyi Guo
for PXE boot. https://bugs.linaro.org/show_bug.cgi?id=2657 Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jason Zhang <zhangjinso...@huawei.com> Signed-off-by: Ming Huang <huangmin...@huawei.com> Signed-off-by: Heyi Guo <heyi@linaro.org> Reviewed

[edk2] [PATCH edk2-platforms v3 06/15] Hisilicon D03/D05: Open SasPlatform source code

2018-02-02 Thread Heyi Guo
ed-off-by: Ming Huang <huangmin...@huawei.com> Signed-off-by: Heyi Guo <heyi@linaro.org> Reviewed-by: Leif Lindholm <leif.lindh...@linaro.org> Reviewed-by: Ard Biesheuvel <ard.biesheu...@linaro.org> --- Platform/Hisilicon/D03/D03.dsc | 1 +

[edk2] [PATCH edk2-platforms v3 12/15] Hisilicon/D03: Replace SP805Watchdog by WatchdogTimer driver.

2018-02-02 Thread Heyi Guo
In SCT test,we find SP805 watchdog driver can't reset when timeout so we use another driver in MdeModulePkg. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ming Huang <huangmin...@huawei.com> Signed-off-by: Heyi Guo <heyi@linaro.org> Signed-off-by:

[edk2] [PATCH edk2-platforms v3 08/15] Hilisicon: Change DmaLib to CoherentDmaLib

2018-02-02 Thread Heyi Guo
Unify all D0x(include D06 in further) to cache coherent DmaLib. This can improve boot speed. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Wang Yue <wangyu...@huawei.com> Signed-off-by: Ming Huang <huangmin...@huawei.com> Signed-off-by: Heyi Guo <heyi

[edk2] [PATCH edk2-platforms v3 14/15] Hisilicon/D05/ACPI: Add Pcie, HNS and SAS PXM

2018-02-02 Thread Heyi Guo
Add PXM method for Pcie device, HNS device and SAS device. Add STA method for HNS. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: hensonwang <wanghuiqi...@huawei.com> Signed-off-by: Ming Huang <huangmin...@huawei.com> Signed-off-by: Heyi Guo <heyi@linar

[edk2] [PATCH edk2-non-osi v3 5/7] Hisilicon D03/D05: Update NativeOhci binary

2018-02-02 Thread Heyi Guo
Update NativeOhci bianry for changing DmaLib to CoherentDmaLib. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ming Huang <huangmin...@huawei.com> Signed-off-by: Heyi Guo <heyi@linaro.org> Reviewed-by: Leif Lindholm <leif.lindh...@linaro.org> ---

[edk2] [PATCH edk2-non-osi v3 6/7] Hisilicon/D03: Update binary of trusted-firmware

2018-02-02 Thread Heyi Guo
1 Workarounds for CVE-2017-5715 on Cortex A57/A72/A73 and A75 #1214. 2 Upgrade trusted firmware to 1.4 Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ming Huang <huangmin...@huawei.com> Signed-off-by: Heyi Guo <heyi@linaro.org> Reviewed-by: Leif Lindholm

[edk2] [PATCH edk2-non-osi v3 7/7] Hisilicon/D05: Update binary of trusted-firmware

2018-02-02 Thread Heyi Guo
1 Workarounds for CVE-2017-5715 on Cortex A57/A72/A73 and A75 #1214. 2 Upgrade trusted firmware to 1.4 Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ming Huang <huangmin...@huawei.com> Signed-off-by: Heyi Guo <heyi@linaro.org> Reviewed-by: Leif Lindholm

[edk2] [PATCH edk2-platforms v3 00/15] Improve D0x platforms and bug fix

2018-02-02 Thread Heyi Guo
acros for PPTT". Code can also be found in github: https://github.com/hisilicon/OpenPlatformPkg.git branch: rp-1802-platforms-v3 Heyi Guo (15): Hisilicon/D05: Move Madt definition to head file Hisilicon/D05: Add PPTT support Hisilicon/D0x/BDS: Switch to Generic BDS driver His

[edk2] [PATCH edk2-platforms v3 01/15] Hisilicon/D05: Move Madt definition to head file

2018-02-02 Thread Heyi Guo
Move definition of Madt struct to head file, so PPTT driver can include it. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ming Huang <huangmin...@huawei.com> Signed-off-by: Heyi Guo <heyi@linaro.org> Reviewed-by: Ard Biesheuvel <ard.biesheu...@linar

[edk2] [PATCH edk2/MdePkg v1] MdePkg ACPI: Add some macros for PPTT

2018-02-01 Thread Heyi Guo
Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ming Huang <huangmin...@huawei.com> Signed-off-by: Heyi Guo <heyi@linaro.org> --- MdePkg/Include/IndustryStandard/Acpi62.h | 18 ++ 1 file changed, 18 insertions(+) diff --git a/Md

[edk2] [PATCH edk2/MdePkg v1] Add some macros for PPTT

2018-02-01 Thread Heyi Guo
Add some macros to Acpi62.h for PPTT as ACPI 6.2 Spec. Heyi Guo (1): MdePkg ACPI: Add some macros for PPTT MdePkg/Include/IndustryStandard/Acpi62.h | 18 ++ 1 file changed, 18 insertions(+) -- 1.9.1 ___ edk2-devel mailing list

[edk2] [PATCH edk2/MdePkg v1] Fix definiton bug of Acpi62.h

2018-01-29 Thread Heyi Guo
From: Ming Huang Correct processor flags struct of PPTT in Acpi62.h. Ming Huang (1): MdePkg ACPI: Correct processor flags struct of PPTT MdePkg/Include/IndustryStandard/Acpi62.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 1.9.1

[edk2] [PATCH edk2/MdePkg v1] MdePkg ACPI: Correct processor flags struct of PPTT

2018-01-29 Thread Heyi Guo
From: Ming Huang <huangmin...@huawei.com> The Type field of EFI_ACPI_6_2_PPTT_STRUCTURE_PROCESSOR should be UINT8 as ACPI version 6.2 specification. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ming Huang <huangmin...@huawei.com> Signed-off-by: He

[edk2] [PATCH edk2/MdePkg v1] Fix definition bug of Acpi62.h

2018-01-29 Thread Heyi Guo
Correct processor struct of PPTT in Acpi62.h Ming Huang (1): MdePkg ACPI: Correct processor struct of PPTT MdePkg/Include/IndustryStandard/Acpi62.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 1.9.1 ___ edk2-devel mailing list

[edk2] [PATCH edk2/MdePkg v2] MdePkg ACPI: Add some macros for PPTT

2018-02-05 Thread Heyi Guo
Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ming Huang <huangmin...@huawei.com> Signed-off-by: Heyi Guo <heyi@linaro.org> --- MdePkg/Include/IndustryStandard/Acpi62.h | 18 ++ 1 file changed, 18 insertions(+) diff --git a/Md

[edk2] [PATCH edk2/MdePkg v2] Add some macros for PPTT

2018-02-05 Thread Heyi Guo
Add some macros to Acpi62.h for PPTT as ACPI 6.2 Spec. Heyi Guo (1): MdePkg ACPI: Add some macros for PPTT MdePkg/Include/IndustryStandard/Acpi62.h | 18 ++ 1 file changed, 18 insertions(+) -- 1.9.1 ___ edk2-devel mailing list

[edk2] [PATCH edk2-platforms v4 01/15] Hisilicon/D05: Move Madt definition to head file

2018-02-07 Thread Heyi Guo
Move definition of Madt struct to head file, so PPTT driver can include it. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ming Huang <huangmin...@huawei.com> Signed-off-by: Heyi Guo <heyi@linaro.org> Reviewed-by: Ard Biesheuvel <ard.biesheu...@linar

[edk2] [PATCH edk2-platforms v4 03/15] Hisilicon/D0x/BDS: Switch to Generic BDS driver

2018-02-07 Thread Heyi Guo
ed-off-by: Heyi Guo <heyi@linaro.org> Signed-off-by: Jason Zhang <zhangjinso...@huawei.com> Reviewed-by: Leif Lindholm <leif.lindh...@linaro.org> Reviewed-by: Ard Biesheuvel <ard.biesheu...@linaro.org> --- Platform/Hisilicon/D03/D03.dsc

[edk2] [PATCH edk2-platforms v4 04/15] Hisilicon/D0x: Break BMC SetBoot option out into separate library

2018-02-07 Thread Heyi Guo
Modify the feature of BMC set boot option as switching generic BDS. Break BMC SetBoot option out into BmcConfigBootLib. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ming Huang <huangmin...@huawei.com> Signed-off-by: Heyi Guo <heyi@linaro.org> Revie

[edk2] [PATCH edk2-platforms v4 12/15] Hisilicon/D03: Replace SP805Watchdog by WatchdogTimer driver.

2018-02-07 Thread Heyi Guo
In SCT test,we find SP805 watchdog driver can't reset when timeout so we use another driver in MdeModulePkg. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ming Huang <huangmin...@huawei.com> Signed-off-by: Heyi Guo <heyi@linaro.org> Signed-off-by:

[edk2] [PATCH edk2-platforms v4 02/15] Hisilicon/D05: Add PPTT support

2018-02-07 Thread Heyi Guo
Signed-off-by: Ming Huang <huangmin...@huawei.com> Signed-off-by: Heyi Guo <heyi@linaro.org> Reviewed-by: Leif Lindholm <leif.lindh...@linaro.org> Reviewed-by: Ard Biesheuvel <ard.biesheu...@linaro.org> Reviewed-by: Graeme Gregory <graeme.greg...@linaro.org> Reveiwed

[edk2] [PATCH edk2-platforms v4 00/15] Improve D0x platforms and bug fix

2018-02-07 Thread Heyi Guo
acros for PPTT".(hash:c4e7557) 2 Correct the email of Graeme Gregory. Code can also be found in github: https://github.com/hisilicon/OpenPlatformPkg.git branch: rp-1802-platforms-v4 Heyi Guo (15): Hisilicon/D05: Move Madt definition to head file Hisilicon/D05: Add PPTT support His

[edk2] [PATCH edk2-platforms v4 08/15] Hilisicon: Change DmaLib to CoherentDmaLib

2018-02-07 Thread Heyi Guo
Unify all D0x(include D06 in further) to cache coherent DmaLib. This can improve boot speed. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Wang Yue <wangyu...@huawei.com> Signed-off-by: Ming Huang <huangmin...@huawei.com> Signed-off-by: Heyi Guo <heyi

[edk2] [PATCH edk2-platforms v4 07/15] Hisilicon D03/D05: Open SnpPlatform source code

2018-02-07 Thread Heyi Guo
for PXE boot. https://bugs.linaro.org/show_bug.cgi?id=2657 Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jason Zhang <zhangjinso...@huawei.com> Signed-off-by: Ming Huang <huangmin...@huawei.com> Signed-off-by: Heyi Guo <heyi@linaro.org> Reviewed

[edk2] [PATCH edk2-platforms v4 05/15] Hisilicon D03/D05: Add capsule upgrade support

2018-02-07 Thread Heyi Guo
This module support updating the boot CPU firmware only. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jason Zhang <zhangjinso...@huawei.com> Signed-off-by: Ming Huang <huangmin...@huawei.com> Signed-off-by: Heyi Guo <heyi@linaro.org> Reviewed-

[edk2] [PATCH edk2-platforms v4 13/15] Hisilicon/D05/ACPI: Add ITS PXM

2018-02-07 Thread Heyi Guo
Add ITS affinity structure in SRAT. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ming Huang <huangmin...@huawei.com> Signed-off-by: Heyi Guo <heyi@linaro.org> Reviewed-by: Ard Biesheuvel <ard.biesheu...@linaro.org> Reviewed-by: Leif Lindholm <lei

[edk2] [PATCH edk2-platforms v4 15/15] Hisilicon D03/D05: Update firmware version to 18.02

2018-02-07 Thread Heyi Guo
Replace the old string with short one. The old one is too long that can not be show integrallty in Setup nemu. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ming Huang <huangmin...@huawei.com> Signed-off-by: Heyi Guo <heyi@linaro.org> Reviewed-by: L

[edk2] [PATCH edk2-platforms v4 14/15] Hisilicon/D05/ACPI: Add Pcie, HNS and SAS PXM

2018-02-07 Thread Heyi Guo
Add PXM method for Pcie device, HNS device and SAS device. Add STA method for HNS. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: hensonwang <wanghuiqi...@huawei.com> Signed-off-by: Ming Huang <huangmin...@huawei.com> Signed-off-by: Heyi Guo <heyi@linar

[edk2] [PATCH edk2-platforms v4 09/15] Hisilicon/Smbios: Indicate use of ProcessorFamily2 in type 4 table

2018-02-07 Thread Heyi Guo
-by: Ming Huang <huangmin...@huawei.com> Signed-off-by: Heyi Guo <heyi@linaro.org> Reviewed-by: Leif Lindholm <leif.lindh...@linaro.org> Reviewed-by: Ard Biesheuvel <ard.biesheu...@linaro.org> --- Silicon/Hisilicon/Drivers/Smbios/ProcessorSubClassDxe/ProcessorSubClass.c |

[edk2] [PATCH edk2-platforms v4 06/15] Hisilicon D03/D05: Open SasPlatform source code

2018-02-07 Thread Heyi Guo
ed-off-by: Ming Huang <huangmin...@huawei.com> Signed-off-by: Heyi Guo <heyi@linaro.org> Reviewed-by: Leif Lindholm <leif.lindh...@linaro.org> Reviewed-by: Ard Biesheuvel <ard.biesheu...@linaro.org> --- Platform/Hisilicon/D03/D03.dsc | 1 +

[edk2] [PATCH edk2-platforms v4 10/15] Hisilicon/PCIe: Disable PCIe ASPM

2018-02-07 Thread Heyi Guo
com> Signed-off-by: Heyi Guo <heyi@linaro.org> Signed-off-by: Yan Zhang <zhangya...@huawei.com> Reviewed-by: Leif Lindholm <leif.lindh...@linaro.org> Reviewed-by: Ard Biesheuvel <ard.biesheu...@linaro.org> --- Silicon/Hisilicon/Hi1610/Drivers/Pc

[edk2] [RFC v2 1/2] MdeModulePkg/PciHostBridgeDxe: Add support for address translation

2018-02-21 Thread Heyi Guo
passed the build for qemu64 and the function has not been tested yet. Please let me know your comments about it. Thanks. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Heyi Guo <heyi@linaro.org> Cc: Ruiyu Ni <ruiyu...@intel.com> Cc: Ard Biesheuvel

[edk2] [RFC v2 0/2] Add translation support to generic PCIHostBridge

2018-02-21 Thread Heyi Guo
@redhat.com> Cc: Michael D Kinney <michael.d.kin...@intel.com> Heyi Guo (2): MdeModulePkg/PciHostBridgeDxe: Add support for address translation MdeModulePkg/PciBus: return CPU address for GetBarAttributes MdeModulePkg/Bus/Pci/PciBusDxe/PciIo.c | 9 +- .../Bus/Pci/Pc

[edk2] [RFC v2 2/2] MdeModulePkg/PciBus: return CPU address for GetBarAttributes

2018-02-21 Thread Heyi Guo
PciIo::GetBarAttributes should return CPU view address according to UEFI spec 2.7, so we change the implementation to follow the spec. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Heyi Guo <heyi@linaro.org> Cc: Ruiyu Ni <ruiyu...@intel.com> Cc: Ar

[edk2] [RFC v3 2/3] MdeModulePkg/PciBus: convert host address to device address

2018-02-23 Thread Heyi Guo
ost address + translation offset. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Heyi Guo <heyi@linaro.org> Cc: Ruiyu Ni <ruiyu...@intel.com> Cc: Ard Biesheuvel <ard.biesheu...@linaro.org> Cc: Star Zeng <star.z...@intel.com> Cc: Eric Dong <eric.d.

[edk2] [RFC v3 1/3] MdeModulePkg/PciHostBridgeDxe: Add support for address translation

2018-02-23 Thread Heyi Guo
o PciHostBridgeResourceConflict is host address, for it comes from ResAllocNode. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Heyi Guo <heyi@linaro.org> Cc: Ruiyu Ni <ruiyu...@intel.com> Cc: Ard Biesheuvel <ard.biesheu...@linaro.org> Cc: Star Zen

[edk2] [RFC v3 0/3] Add translation support to generic PciHostBridge

2018-02-23 Thread Heyi Guo
el.com> Cc: Eric Dong <eric.d...@intel.com> Cc: Laszlo Ersek <ler...@redhat.com> Cc: Michael D Kinney <michael.d.kin...@intel.com> Heyi Guo (3): MdeModulePkg/PciHostBridgeDxe: Add support for address translation MdeModulePkg/PciBus: convert host address to device address

[edk2] [PATCH 1/1] MdeModulePkg/UefiBootManagerLib: limit recursive call depth

2018-02-26 Thread Heyi Guo
will cause stack overflow and then system exception, and it may be not easy to find that the exception is actually caused by stack overflow. So we limit the number of reconnect retry to 10 to improve code robustness. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Heyi Guo <h

[edk2] [RFC v3 3/3] MdeModulePkg/PciBus: return CPU address for GetBarAttributes

2018-02-23 Thread Heyi Guo
der: TianoCore Contribution Agreement 1.1 Signed-off-by: Heyi Guo <heyi@linaro.org> Cc: Ruiyu Ni <ruiyu...@intel.com> Cc: Ard Biesheuvel <ard.biesheu...@linaro.org> Cc: Star Zeng <star.z...@intel.com> Cc: Eric Dong <eric.d...@intel.com> Cc: Laszlo Ersek <ler

Re: [edk2] Question about SecurityPkg/DxeTcg2PhysicalPresenceLib

2018-08-14 Thread heyi . guo
Hi Jiewen, I searched the code in EDK2, and found there is another implementation of DxeTcg2PhysicalPresenceLib for OVMF: the function Tcg2PhysicalPresenceLibProcessRequest() is called in PlatformBootManagerAfterConsole() on OVMF, and it doesn't invoke VariableLockProtocol->RequestToLock() in

Re: [edk2] Question about SecurityPkg/DxeTcg2PhysicalPresenceLib

2018-08-12 Thread heyi . guo
Is there any work around if we don't have such trusted console on available hardware platforms? Is there any example implementation which we can refer to? Thanks, Heyi On Fri, Aug 10, 2018 at 09:12:46AM +, Yao, Jiewen wrote: > by design a platform need define a trusted console and only

[edk2] Question about SecurityPkg/DxeTcg2PhysicalPresenceLib

2018-08-10 Thread heyi . guo
Hi folks, The function Tcg2PhysicalPresenceLibProcessRequest in DxeTcg2PhysicalPresenceLib requires to be invoked after console is ready, and in the function it will call VariableLockProtocol->RequestToLock(), while variable RequestToLock() requires to be called before "End Of Dxe" event, or else

[edk2] Can we use python 3 to build edk2?

2018-08-27 Thread heyi . guo
It is said that python3 is not compatible with python2. Can we use python3 to build edk2? Thanks, Heyi ___ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel

Re: [edk2] Can we use python 3 to build edk2?

2018-08-27 Thread heyi . guo
That's really good news; thank you all! Heyi On Mon, Aug 27, 2018 at 05:58:35PM +0200, Laszlo Ersek wrote: > On 08/27/18 15:31, Zhu, Yonghong wrote: > > We have a bugzilla. https://bugzilla.tianocore.org/show_bug.cgi?id=55 > > Current I am working on it. And planned to finish to migrate to

[edk2] [PATCH edk2-non-osi v1 1/2] Hisilicon/D03: Update binary of trusted-firmware

2018-01-19 Thread Heyi Guo
Workarounds for CVE-2017-5715 on Cortex A57/A72/A73 and A75 #1214. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ming Huang <huangmin...@huawei.com> Signed-off-by: Heyi Guo <heyi@linaro.org> --- Platform/Hisilicon/D03/bl1.bin | Bin 14336 -> 12416

[edk2] [PATCH edk2-non-osi v1 2/2] Hisilicon/D05: Update binary of trusted-firmware

2018-01-19 Thread Heyi Guo
Workarounds for CVE-2017-5715 on Cortex A57/A72/A73 and A75 #1214. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ming Huang <huangmin...@huawei.com> Signed-off-by: Heyi Guo <heyi@linaro.org> --- Platform/Hisilicon/D05/bl1.bin | Bin 14344 -> 12424

[edk2] [PATCH edk2-non-osi v1 0/2] Update binary of trusted-firmware

2018-01-19 Thread Heyi Guo
Workarounds for CVE-2017-5715 on Cortex A57/A72/A73 and A75 #1214. Heyi Guo (2): Hisilicon/D03: Update binary of trusted-firmware Hisilicon/D05: Update binary of trusted-firmware Platform/Hisilicon/D03/bl1.bin | Bin 14336 -> 12416 bytes Platform/Hisilicon/D03/fip.bin | Bin 62513 ->

[edk2] [PATCH 1/3] Hisilicon/D0x: Set ACPI GTDT always-on flag

2018-03-06 Thread Heyi Guo
hang <zhangjinso...@huawei.com> Signed-off-by: Heyi Guo <heyi@linaro.org> Cc: Ard Biesheuvel <ard.biesheu...@linaro.org> Cc: Leif Lindholm <leif.lindh...@linaro.org> Cc: Graeme Gregory <graeme.greg...@linaro.org> --- Silicon/Hisilicon/Hi1610/Hi1610AcpiTables/Gtdt.aslc |

[edk2] [PATCH 3/3] Hisilicon/D05: Support SBSA watchdog

2018-03-06 Thread Heyi Guo
From: Chenhui Sun <sunchen...@huawei.com> Add description of SBSA watchdogs to ACPI GTDT on D05. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Chenhui Sun <sunchen...@huawei.com> Signed-off-by: Heyi Guo <heyi@linaro.org> Cc: Ard Biesheuvel <ard.

[edk2] [PATCH 1/2] Hisilicon/D0x: fix tftp command init failure

2018-03-06 Thread Heyi Guo
We need to set PcdShellLibAutoInitialize to FALSE for TftpDynamicCommand, or else we will get initialization failure when loading TftpDynamicCommand module, for EFI Shell has not been started at this moment. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Heyi Guo <h

[edk2] [PATCH 2/2] Hisilicon/D0x: Enable tftp command by default

2018-03-06 Thread Heyi Guo
Since D0x platforms always have network enabled, we would like to enable tftp command by default so that we can download something in EFI Shell. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Heyi Guo <heyi@linaro.org> Cc: Ard Biesheuvel <ard.biesheu...@linar

[edk2] [PATCH 1/1] ArmPkg/TimerDxe: Add DSB for timer compare value reload

2018-03-12 Thread Heyi Guo
Resetting timer compare register has a side effect of clearing GIC pending status, if timer interrupt is level sensitive, so a "DSB SY" is needed to make sure this change effect is synchronized. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Heyi Guo <heyi..

[edk2] [PATCH 0/1] ArmPkg/TimerDxe: Add DSB for timer compare value reload

2018-03-12 Thread Heyi Guo
fixed if we add a "DSB" after reloading timer compare value, and we think that it makes sense to do that. Cc: Leif Lindholm <leif.lindh...@linaro.org> Cc: Ard Biesheuvel <ard.biesheu...@linaro.org> Cc: Marc Zyngier <marc.zyng...@arm.com> Heyi Guo (1): ArmPkg/TimerD

[edk2] [edk2-platforms PATCH v2 2/3] Hisilicon: disable GICv3 legacy mode

2018-03-12 Thread Heyi Guo
GICv3. D03 also works for this patch. If the platforms only have GICv2, this change will have no impact on them. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: gongchengya <gongcheng...@huawei.com> Signed-off-by: Heyi Guo <heyi@linaro.org> Cc: Ard Biesh

[edk2] [edk2-platforms PATCH v2 1/3] Hisilicon/D0x: Set ACPI GTDT always-on flag

2018-03-12 Thread Heyi Guo
hang <zhangjinso...@huawei.com> Signed-off-by: Heyi Guo <heyi@linaro.org> Cc: Ard Biesheuvel <ard.biesheu...@linaro.org> Cc: Leif Lindholm <leif.lindh...@linaro.org> Cc: Graeme Gregory <graeme.greg...@linaro.org> --- Silicon/Hisilicon/Hi1610/Hi1610AcpiTables/Gtdt.aslc |

[edk2] [edk2-platforms PATCH v2 3/3] Hisilicon/D05: Support SBSA watchdog

2018-03-12 Thread Heyi Guo
From: Chenhui Sun <sunchen...@huawei.com> Add description of SBSA watchdogs to ACPI GTDT on D05. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Chenhui Sun <sunchen...@huawei.com> Signed-off-by: Heyi Guo <heyi@linaro.org> Cc: Ard Biesheuvel <ard.

[edk2] [edk2-platforms PATCH v2 0/3] Fix SBSA test failures on D05

2018-03-12 Thread Heyi Guo
These 3 patches are to fix SBSA-ACS test failures for system timer and watch dog timer on Hisilicon/D05. Cc: Ard Biesheuvel Cc: Leif Lindholm Cc: Graeme Gregory Cc: Haojian Zhuang v2: -

[edk2] [PATCH 1/1] MdeModulePkg/UefiBootManagerLib: limit recursive call depth

2018-02-28 Thread Heyi Guo
also remove a duplicated declaration of BmRepairAllControllers() in InternalBm.h in this patch, for it is only a trivial change. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Heyi Guo <heyi@linaro.org> Cc: Star Zeng <star.z...@intel.com> Cc: Eric

[edk2] [PATCH v5 0/6] Add translation support to generic PciHostBridge

2018-02-28 Thread Heyi Guo
;anthony.per...@citrix.com> Cc: Julien Grall <julien.gr...@linaro.org> Heyi Guo (6): CorebootPayloadPkg/PciHostBridgeLib: Init PCI aperture to 0 OvmfPkg/PciHostBridgeLib: Init PCI aperture to 0 MdeModulePkg/PciHostBridgeLib.h: add address Translation MdeModulePkg/PciHostBridgeDxe: A

[edk2] [PATCH v5 5/6] MdeModulePkg/PciBus: convert host address to device address

2018-02-28 Thread Heyi Guo
ost address + translation offset. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Heyi Guo <heyi@linaro.org> Cc: Ruiyu Ni <ruiyu...@intel.com> Cc: Ard Biesheuvel <ard.biesheu...@linaro.org> Cc: Star Zeng <star.z...@intel.com> Cc: Eric Dong <eric.d.

[edk2] [PATCH v5 2/6] OvmfPkg/PciHostBridgeLib: Init PCI aperture to 0

2018-02-28 Thread Heyi Guo
an additional change. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Heyi Guo <heyi@linaro.org> Cc: Jordan Justen <jordan.l.jus...@intel.com> Cc: Anthony Perard <anthony.per...@citrix.com> Cc: Julien Grall <julien.gr...@linaro.org> Cc: Ruiyu Ni

[edk2] [PATCH v5 4/6] MdeModulePkg/PciHostBridgeDxe: Add support for address translation

2018-02-28 Thread Heyi Guo
: to simplify the situation, we require the alignment of Translation must be larger than any BAR alignment in the same root bridge, so that resource allocation alignment can be applied to both device address and host address. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by:

[edk2] [PATCH v5 3/6] MdeModulePkg/PciHostBridgeLib.h: add address Translation

2018-02-28 Thread Heyi Guo
ert it to a PCI address". This means: Translation = device address - host address So we also use the above calculation for this Translation field to keep consistent. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Heyi Guo <heyi@linaro.org> --- Md

[edk2] [PATCH v5 6/6] MdeModulePkg/PciBus: return CPU address for GetBarAttributes

2018-02-28 Thread Heyi Guo
der: TianoCore Contribution Agreement 1.1 Signed-off-by: Heyi Guo <heyi@linaro.org> Cc: Ruiyu Ni <ruiyu...@intel.com> Cc: Ard Biesheuvel <ard.biesheu...@linaro.org> Cc: Star Zeng <star.z...@intel.com> Cc: Eric Dong <eric.d...@intel.com> Cc: Laszlo Ersek <ler

[edk2] [PATCH v5 1/6] CorebootPayloadPkg/PciHostBridgeLib: Init PCI aperture to 0

2018-02-28 Thread Heyi Guo
an additional change. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Heyi Guo <heyi@linaro.org> Cc: Maurice Ma <maurice...@intel.com> Cc: Prince Agyeman <prince.agye...@intel.com> Cc: Benjamin You <benjamin@intel.com> Cc: Ruiyu Ni <ruiyu...@intel

[edk2] [PATCH v2 0/1] ArmPkg/TimerDxe: Add ISB for timer compare value reload

2018-03-12 Thread Heyi Guo
fixed if we add a "ISB" after reloading timer compare value, and we agree that it makes sense to do that. Cc: Leif Lindholm <leif.lindh...@linaro.org> Cc: Ard Biesheuvel <ard.biesheu...@linaro.org> Cc: Marc Zyngier <marc.zyng...@arm.com> Heyi Guo (1): ArmPkg/TimerD

[edk2] [PATCH v2 1/1] ArmPkg/TimerDxe: Add ISB for timer compare value reload

2018-03-12 Thread Heyi Guo
ntribution Agreement 1.1 Signed-off-by: Heyi Guo <heyi@linaro.org> Signed-off-by: Yi Li <phoenix.l...@huawei.com> Cc: Leif Lindholm <leif.lindh...@linaro.org> Cc: Ard Biesheuvel <ard.biesheu...@linaro.org> Cc: Marc Zyngier <marc.zyng...@arm.com> --- Notes:

[edk2] [PATCH v7 4/6] MdeModulePkg/PciHostBridgeDxe: Add support for address translation

2018-03-15 Thread Heyi Guo
: to simplify the situation, we require the alignment of Translation must be larger than any BAR alignment in the same root bridge, so that resource allocation alignment can be applied to both device address and host address. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Hey

[edk2] [PATCH v7 3/6] MdeModulePkg/PciHostBridgeLib.h: add address Translation

2018-03-15 Thread Heyi Guo
ert it to a PCI address". This means: Translation = device address - host address So we also use the above calculation for this Translation field to keep consistent. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Heyi Guo <heyi@linaro.org> Signed-off-by: Yi L

[edk2] [PATCH v7 5/6] MdeModulePkg/PciBus: convert host address to device address

2018-03-15 Thread Heyi Guo
ost address + translation offset. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Heyi Guo <heyi@linaro.org> Signed-off-by: Yi Li <phoenix.l...@huawei.com> Reviewed-by: Ni Ruiyu <ruiyu...@intel.com> Cc: Ruiyu Ni <ruiyu...@intel.com> Cc: Ard Biesheuvel <

[edk2] [PATCH v7 6/6] MdeModulePkg/PciBus: return CPU address for GetBarAttributes

2018-03-15 Thread Heyi Guo
der: TianoCore Contribution Agreement 1.1 Signed-off-by: Heyi Guo <heyi@linaro.org> Signed-off-by: Yi Li <phoenix.l...@huawei.com> Reviewed-by: Ni Ruiyu <ruiyu...@intel.com> Cc: Ruiyu Ni <ruiyu...@intel.com> Cc: Ard Biesheuvel <ard.biesheu...@linaro.org> Cc: Star Zeng &l

[edk2] [PATCH v7 1/6] CorebootPayloadPkg/PciHostBridgeLib: clear aperture vars for (re)init

2018-03-15 Thread Heyi Guo
will not suffer from an additional change. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Heyi Guo <heyi@linaro.org> Signed-off-by: Yi Li <phoenix.l...@huawei.com> Reviewed-by: Ni Ruiyu <ruiyu...@intel.com> Cc: Maurice Ma <maurice...@intel.com> Cc: Pri

[edk2] [PATCH v6 0/6] Add translation support to generic PciHostBridge

2018-03-14 Thread Heyi Guo
t;benjamin@intel.com> Cc: Jordan Justen <jordan.l.jus...@intel.com> Cc: Anthony Perard <anthony.per...@citrix.com> Cc: Julien Grall <julien.gr...@linaro.org> Heyi Guo (6): CorebootPayloadPkg/PciHostBridgeLib: clear aperture vars for (re)init OvmfPkg/PciHostBridgeLib: clear

[edk2] [PATCH v3 0/1] ArmPkg/TimerDxe: Add ISB for timer compare value reload

2018-03-15 Thread Heyi Guo
fixed if we add a "ISB" after reloading timer compare value, and we agree that it makes sense to do that. v3: - Implement 1 comment from Marc. Cc: Leif Lindholm <leif.lindh...@linaro.org> Cc: Ard Biesheuvel <ard.biesheu...@linaro.org> Cc: Marc Zyngier <marc.zyng...@arm

[edk2] [PATCH v3 1/1] ArmPkg/TimerDxe: Add ISB for timer compare value reload

2018-03-15 Thread Heyi Guo
ntribution Agreement 1.1 Signed-off-by: Heyi Guo <heyi@linaro.org> Signed-off-by: Yi Li <phoenix.l...@huawei.com> Acked-by: Marc Zyngier <marc.zyng...@arm.com> Cc: Leif Lindholm <leif.lindh...@linaro.org> Cc: Ard Biesheuvel <ard.biesheu...@linaro.org> Cc: Marc Z

[edk2] [PATCH v6 2/6] OvmfPkg/PciHostBridgeLib: clear PCI aperture vars for (re)init

2018-03-14 Thread Heyi Guo
will not suffer from an additional change. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Heyi Guo <heyi@linaro.org> Signed-off-by: Yi Li <phoenix.l...@huawei.com> Cc: Jordan Justen <jordan.l.jus...@intel.com> Cc: Anthony Perard <anthony.per...@citrix.

[edk2] [PATCH v6 4/6] MdeModulePkg/PciHostBridgeDxe: Add support for address translation

2018-03-14 Thread Heyi Guo
: to simplify the situation, we require the alignment of Translation must be larger than any BAR alignment in the same root bridge, so that resource allocation alignment can be applied to both device address and host address. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: H

[edk2] [PATCH v6 3/6] MdeModulePkg/PciHostBridgeLib.h: add address Translation

2018-03-14 Thread Heyi Guo
ert it to a PCI address". This means: Translation = device address - host address So we also use the above calculation for this Translation field to keep consistent. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Heyi Guo <heyi@linaro.org> Signed-off-by: Yi L

[edk2] [PATCH v6 1/6] CorebootPayloadPkg/PciHostBridgeLib: clear aperture vars for (re)init

2018-03-14 Thread Heyi Guo
will not suffer from an additional change. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Heyi Guo <heyi@linaro.org> Signed-off-by: Yi Li <phoenix.l...@huawei.com> Cc: Maurice Ma <maurice...@intel.com> Cc: Prince Agyeman <prince.agye...@intel.com> Cc

[edk2] [PATCH v6 5/6] MdeModulePkg/PciBus: convert host address to device address

2018-03-14 Thread Heyi Guo
ost address + translation offset. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Heyi Guo <heyi@linaro.org> Signed-off-by: Yi Li <phoenix.l...@huawei.com> Cc: Ruiyu Ni <ruiyu...@intel.com> Cc: Ard Biesheuvel <ard.biesheu...@linaro.org> Cc: Star Zeng <

[edk2] [PATCH v6 6/6] MdeModulePkg/PciBus: return CPU address for GetBarAttributes

2018-03-14 Thread Heyi Guo
der: TianoCore Contribution Agreement 1.1 Signed-off-by: Heyi Guo <heyi@linaro.org> Signed-off-by: Yi Li <phoenix.l...@huawei.com> Cc: Ruiyu Ni <ruiyu...@intel.com> Cc: Ard Biesheuvel <ard.biesheu...@linaro.org> Cc: Star Zeng <star.z...@intel.com> Cc: Eric Dong <eric.d

[edk2] [PATCH edk2-non-osi v2 1/1] Hisilicon/Sm750Dxe: Unify binary and fix GOP frame buffer base

2018-03-26 Thread Heyi Guo
ted-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Heyi Guo <heyi@linaro.org> Signed-off-by: Yi Li <phoenix.l...@huawei.com> Cc: Ard Biesheuvel <ard.biesheu...@linaro.org> Cc: Leif Lindholm <leif.lindh...@linaro.org> Cc: Michael D Kinney <michael.d.k

[edk2] [PATCH edk2-non-osi v2 0/1] Hisilicon/D0x/Sm750: Fix GOP framebuffer

2018-03-26 Thread Heyi Guo
les can be fetched from: https://github.com/iwishguo/edk2-non-osi/tree/patch-sm750-fix-v2 v2: - Unify binary files for D03 and D05 [Ard] Cc: Ard Biesheuvel <ard.biesheu...@linaro.org> Cc: Leif Lindholm <leif.lindh...@linaro.org> Cc: Michael D Kinney <michael.d.kin...@intel.

[edk2] [RFC 1/1] MdeModulePkg/Gcd: Fix bug of attribute conversion

2018-03-28 Thread Heyi Guo
other attributes. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Heyi Guo <heyi@linaro.org> Signed-off-by: Yi Li <phoenix.l...@huawei.com> Signed-off-by: Renhao Liang <liangren...@huawei.com> Cc: Star Zeng <star.z...@intel.com> Cc: Eric Dong &l

[edk2] [PATCH edk2-platforms 1/1] Hisilicon/D0x: Use unified Sm750Dxe driver binary

2018-03-28 Thread Heyi Guo
Signed-off-by: Heyi Guo <heyi@linaro.org> Signed-off-by: Yi Li <phoenix.l...@huawei.com> Cc: Ard Biesheuvel <ard.biesheu...@linaro.org> Cc: Leif Lindholm <leif.lindh...@linaro.org> Cc: Michael D Kinney <michael.d.kin...@intel.com> --- Platform/Hisilicon/D03/D03.dsc

[edk2] [PATCH 1/1] MdeModulePkg/Gcd: Fix bug of attribute conversion

2018-03-29 Thread Heyi Guo
ntributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Heyi Guo <heyi@linaro.org> Signed-off-by: Yi Li <phoenix.l...@huawei.com> Signed-off-by: Renhao Liang <liangren...@huawei.com> Cc: Star Zeng <star.z...@intel.com> Cc: Eric Dong <eric.d...@intel.com&

[edk2] [PATCH edk2-non-osi 0/1] Hisilicon/D0x/Sm750: Fix GOP framebuffer

2018-03-22 Thread Heyi Guo
tch-sm750-fix Cc: Ard Biesheuvel <ard.biesheu...@linaro.org> Cc: Leif Lindholm <leif.lindh...@linaro.org> Cc: Michael D Kinney <michael.d.kin...@intel.com> Heyi Guo (1): Hisilicon/D0x/Sm750: Fix GOP framebuffer base Platform/Hisilicon/D03/Drivers/Sm750Dxe/SmiGraphicsO

[edk2] [PATCH edk2-non-osi 1/1] Hisilicon/D0x/Sm750: Fix GOP framebuffer base

2018-03-22 Thread Heyi Guo
The code in SM750 driver treated the address returned from PciIo->GetBarAttributes() as device address; this should be fixed after edk2 commit dc080d3 since GetBarAttributes() returns host address from then on. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Heyi Guo &l

[edk2] [PATCH edk2-platforms 08/12] Hisilicon: add PciCpuIo2Dxe

2018-03-20 Thread Heyi Guo
This is to prepare for switching to generic PciHostBridge, and CpuIo2Dxe is needed by generic PciHostBridge driver. The driver is copied from ArmPkg/Drivers/ArmPciCpuIo2Dxe and changed for D0x. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Heyi Guo <heyi@linaro.

[edk2] [PATCH edk2-platforms 09/12] Hisilicon: add PciSegmentLib for Hi161x

2018-03-20 Thread Heyi Guo
This is to prepare for switching to generic PciHostBridge, and PciSegmentLib is needed by generic PciHostBridge driver. This module copied from edk2-platforms/Silicon/Socionext/SynQuacer/Library/SynQuacerPciSegmentLib. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Heyi

[edk2] [PATCH edk2-platforms 04/12] Hisilicon/Pci: Merge PciPlatform into PcieInit Driver

2018-03-20 Thread Heyi Guo
1.1 Signed-off-by: Heyi Guo <heyi@linaro.org> Cc: Ard Biesheuvel <ard.biesheu...@linaro.org> Cc: Leif Lindholm <leif.lindh...@linaro.org> Cc: Michael D Kinney <michael.d.kin...@intel.com> --- Pla

[edk2] [PATCH edk2-platforms 10/12] Hisilicon/D0x: Switch to generic PciHostBridge driver

2018-03-20 Thread Heyi Guo
Signed-off-by: Heyi Guo <heyi@linaro.org> Cc: Ard Biesheuvel <ard.biesheu...@linaro.org> Cc: Leif Lindholm <leif.lindh...@linaro.org> Cc: Michael D Kinney <michael.d.kin...@intel.com> Cc: Haojian Zhuang <haojian.zhu...@linaro.org> --- Silicon/Hisilicon/Hisilico

<    1   2   3   4   >