Re: [edk2] [PATCH 1/2] ArmVirtPkg: add runtime instance of FdtPL011SerialPortLib

2019-04-01 Thread Heyi Guo
SystemTable, + &gEfiDxeServicesTableGuid, + (VOID **) &InternalDS + ); Shall we follow the coding style in this document: https://github.com/tianocore-docs/Docs/raw/master/Specifications/CCS_2_1_Draft.pdf? Thanks, Heyi On 2019/4/2 0:14, Laszlo Ersek wrote: On 04/01/19 11:06

[edk2] [PATCH 2/2] ArmVirtQemu: enable runtime debug by build flag

2019-04-01 Thread Heyi Guo
may cause potential conflict. User needs to specify "-D RT_DEBUG=TRUE"; "-D RT_DEBUG" is not enough for we use !if $(RT_DEBUG)==TRUE in the code. Cc: Laszlo Ersek Cc: Ard Biesheuvel Cc: Julien Grall Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Hey

[edk2] [PATCH 1/2] ArmVirtPkg: add runtime instance of FdtPL011SerialPortLib

2019-04-01 Thread Heyi Guo
serial port base address. Cc: Laszlo Ersek Cc: Ard Biesheuvel Cc: Julien Grall Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Heyi Guo Signed-off-by: Heyi Guo --- ArmVirtPkg/Library/FdtPL011SerialPortLib/FdtPL011SerialPortLib.c | 6 +- ArmVirtPkg/Library

[edk2] [PATCH 0/2] Enable runtime serial port debug for ArmVirtQemu

2019-04-01 Thread Heyi Guo
moment, with the potential *risk* of conflicting OS serial port read/write. Once QEMU implements individual firmware UART, we need rewrite PlatformGetRtSerialBase() to get the real runtime serial port base address. Cc: Laszlo Ersek Cc: Ard Biesheuvel Cc: Julien Grall Heyi Guo (2): ArmVirtPkg

Re: [edk2] [RFC 0/3] Enable runtime serial debug for ArmVirtQemu

2019-03-20 Thread Heyi Guo
On 2019/3/21 1:47, Laszlo Ersek wrote: On 03/20/19 13:16, Heyi Guo wrote: On 2019/3/20 17:55, Laszlo Ersek wrote: If we don't have to flatten a ridiculous amount of other library code into the RuntimePrepare() function, I think such flattening would be a viable approach. We'v

Re: [edk2] [RFC 0/3] Enable runtime serial debug for ArmVirtQemu

2019-03-20 Thread Heyi Guo
On 2019/3/20 17:55, Laszlo Ersek wrote: On 03/16/19 10:41, Heyi Guo wrote: On 2019/3/13 1:05, Laszlo Ersek wrote: Given that you'd have to implement a "special" SerialPortLib instance just for StatusCodeHandlerRuntimeDxe anyway, can we perhaps: (1) Undo -- dependent

Re: [edk2] [RFC 0/3] Enable runtime serial debug for ArmVirtQemu

2019-03-16 Thread Heyi Guo
On 2019/3/13 1:05, Laszlo Ersek wrote: Hello Heyi, On 03/12/19 07:56, Heyi Guo wrote: Hi Laszlo, I'm thinking about a proposal as below: 1. Reuse the framework of MdePkg/Library/DxeRuntimeDebugLibSerialPort/DxeRuntimeDebugLibSerialPort.inf 2. The boot time behavior of this module i

Re: [edk2] [RFC 0/3] Enable runtime serial debug for ArmVirtQemu

2019-03-12 Thread Heyi Guo
, Ard Biesheuvel wrote: On Thu, 28 Feb 2019 at 09:06, Heyi Guo wrote: Serial port output is useful when debugging UEFI runtime services in OS runtime. The patches are trying to provide a handy method to enable runtime serial port debug for ArmVirtQemu. Cc: Jian J Wang Cc: Hao Wu Cc: Laszlo Erse

Re: [edk2] [RFC 0/3] Enable runtime serial debug for ArmVirtQemu

2019-03-04 Thread Heyi Guo
On 2019/3/1 23:27, Laszlo Ersek wrote: +Peter, for the last few paragraphs On 02/28/19 13:10, Ard Biesheuvel wrote: On Thu, 28 Feb 2019 at 09:06, Heyi Guo wrote: Serial port output is useful when debugging UEFI runtime services in OS runtime. The patches are trying to provide a handy

Re: [edk2] [RFC 0/3] Enable runtime serial debug for ArmVirtQemu

2019-03-01 Thread Heyi Guo
On 2019/2/28 21:39, Laszlo Ersek wrote: Hello Heyi, On 02/28/19 09:05, Heyi Guo wrote: Serial port output is useful when debugging UEFI runtime services in OS runtime. The patches are trying to provide a handy method to enable runtime serial port debug for ArmVirtQemu. Cc: Jian J Wang Cc

[edk2] [RFC 2/3] ArmVirtPkg: add runtime instance of FdtPL011SerialPortLib

2019-02-28 Thread Heyi Guo
We add a runtime instance inf into the same directory for code reuse. The different pieces of code are put into *Common.c and *Runtime.c. Cc: Laszlo Ersek Cc: Ard Biesheuvel Cc: Julien Grall Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Heyi Guo Signed-off-by: Heyi

[edk2] [RFC 3/3] ArmVirtQemu: enable runtime debug by build flag

2019-02-28 Thread Heyi Guo
buted-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Heyi Guo Signed-off-by: Heyi Guo --- ArmVirtPkg/ArmVirt.dsc.inc | 6 ++ ArmVirtPkg/ArmVirtQemu.dsc | 13 + ArmVirtPkg/ArmVirtQemuFvMain.fdf.inc | 5 + 3 files changed, 24 insertions(+) diff --

[edk2] [RFC 1/3] MdeModulePkg/StatusCode: Add PCD to enable runtime serial debug

2019-02-28 Thread Heyi Guo
Serial port message is useful when we are debugging UEFI runtime services, so add a feature PCD to enable runtime serial debug. Cc: Jian J Wang Cc: Hao Wu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Heyi Guo Signed-off-by: Heyi Guo --- MdeModulePkg/MdeModulePkg.dec

[edk2] [RFC 0/3] Enable runtime serial debug for ArmVirtQemu

2019-02-28 Thread Heyi Guo
Serial port output is useful when debugging UEFI runtime services in OS runtime. The patches are trying to provide a handy method to enable runtime serial port debug for ArmVirtQemu. Cc: Jian J Wang Cc: Hao Wu Cc: Laszlo Ersek Cc: Ard Biesheuvel Cc: Julien Grall Heyi Guo (3): MdeModulePkg

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 Pyth

[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] Question about SecurityPkg/DxeTcg2PhysicalPresenceLib

2018-08-13 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 Tc

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 conne

[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

Re: [edk2] [PATCH edk2-platforms 00/12] Hisilicon/D0x: Switch to generic PciHostBridge

2018-05-30 Thread heyi . guo
SA-AES128-GCM-SHA256 bits=128/128); > Mon, 16 Apr 2018 18:40:07 -0700 (PDT) > Received-SPF: pass (google.com: domain of guoh...@huawei.com designates > 45.249.212.32 as permitted sender) client-ip=45.249.212.32; > Authentication-Results: mx.google.com; >spf=pass (googl

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

2018-03-29 Thread Heyi Guo
. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Heyi Guo Signed-off-by: Yi Li Signed-off-by: Renhao Liang Cc: Star Zeng Cc: Eric Dong Cc: Michael D Kinney Cc: Liming Gao Cc: Jian J Wang Cc: Ruiyu Ni --- MdeModulePkg/Core/Dxe/Gcd/Gcd.c | 5 - 1 file change

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

2018-03-28 Thread Heyi Guo
nore other attributes. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Heyi Guo Signed-off-by: Yi Li Signed-off-by: Renhao Liang Cc: Star Zeng Cc: Eric Dong Cc: Michael D Kinney Cc: Liming Gao --- MdeModulePkg/Core/Dxe/Gcd/Gcd.c | 4 ++-- 1 file changed, 2 insertions(+),

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

2018-03-28 Thread Heyi Guo
Signed-off-by: Heyi Guo Signed-off-by: Yi Li Cc: Ard Biesheuvel Cc: Leif Lindholm Cc: Michael D Kinney --- Platform/Hisilicon/D03/D03.dsc | 2 +- Platform/Hisilicon/D05/D05.dsc | 2 +- Platform/Hisilicon/D03/D03.fdf | 2 +- Platform/Hisilicon/D05/D05.fdf | 2 +- 4 files changed, 4 insertions

[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 Signed-off-by: Yi Li Cc: Ard Biesheuvel Cc: Leif Lindholm Cc: Michael D Kinney --- Platform/Hisilicon/D03/Drivers/Sm750Dxe/UefiSmi.inf | 32 Platform/Hisilicon/{D05 => }/Drivers/Sm

[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 Cc: Leif Lindholm Cc: Michael D Kinney Heyi Guo (1): Hisilicon/Sm750Dxe: Unify binary and fix GOP frame buffer base Platform/Hisili

[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

[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 Cc: Leif Lindholm Cc: Michael D Kinney Heyi Guo (1): Hisilicon/D0x/Sm750: Fix GOP framebuffer base Platform/Hisilicon/D03/Drivers/Sm750Dxe/SmiGraphicsOutput.efi | Bin 17728 -> 18432 bytes Platform/Hisilicon/D05/Drivers/Sm750Dxe/SmiGraphicsOutput.efi

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

2018-03-20 Thread Heyi Guo
Signed-off-by: Heyi Guo Cc: Ard Biesheuvel Cc: Leif Lindholm Cc: Michael D Kinney Cc: Haojian Zhuang --- Silicon/Hisilicon/Hisilicon.dsc.inc | 6 +- Platform/Hisilicon/D03/D03.dsc | 6 -- Platform/Hisilicon/D05/D05.dsc | 6 -- Platform/Hisilicon/D03/D03.fdf | 3

[edk2] [PATCH edk2-platforms 05/12] Hisilicon/Pci: Move EnlargeAtuConfig0() to PcieInitDxe

2018-03-20 Thread Heyi Guo
: TianoCore Contribution Agreement 1.1 Signed-off-by: Heyi Guo Cc: Ard Biesheuvel Cc: Leif Lindholm Cc: Michael D Kinney --- Silicon/Hisilicon/Hi1610/Drivers/PcieInit1610/PcieInitDxe.inf | 3 +- Silicon/Hisilicon/Drivers/PciHostBridgeDxe/PciHostBridge.h| 8 - Silicon/Hisilicon/Hi1610/Drivers

[edk2] [PATCH edk2-platforms 06/12] Hisilicon/PlatformPciLib: add segment for each root bridge

2018-03-20 Thread Heyi Guo
are kept the same as ACPI MCFG. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Heyi Guo --- Silicon/Hisilicon/Include/Library/PlatformPciLib.h | 1 + Platform/Hisilicon/D03/Library/PlatformPciLib/PlatformPciLib.c | 8 Platform/Hisilicon/D05/Library

[edk2] [PATCH edk2-platforms 12/12] Hisilicon/PlatformPciLib: clear redundant felds in RESOURCE_APPETURE

2018-03-20 Thread Heyi Guo
Contribution Agreement 1.1 Signed-off-by: Heyi Guo Signed-off-by: Yi Li Cc: Ard Biesheuvel Cc: Leif Lindholm Cc: Michael D Kinney --- Silicon/Hisilicon/Include/Library/PlatformPciLib.h | 2 -- Platform/Hisilicon/D03/Library/PlatformPciLib/PlatformPciLib.c | 16 -- Platform

[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 Cc: Ard Biesheuvel

[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 Cc: Ard Biesheuvel Cc: Leif Lindholm Cc: Michael D Kinney --- Platform/Hisilicon/D03/D03.dsc | 1 - Platform/Hisilicon/D05/D05.

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

2018-03-20 Thread Heyi Guo
libraries and protocol implementations, like PciHostBridgeLib, PciSegmentLib and CpuIo2 Protocol. - Other enhancement and refinement. Cc: Ard Biesheuvel Cc: Leif Lindholm Cc: Michael D Kinney Cc: Haojian Zhuang Heyi Guo (12): Hisilicon: Enable WARN and INFO debug message Hisilicon/D05

[edk2] [PATCH edk2-platforms 03/12] Hisilicon/Pci: move ATU configuration to PcieInitDxe

2018-03-20 Thread Heyi Guo
: Heyi Guo Cc: Ard Biesheuvel Cc: Leif Lindholm Cc: Michael D Kinney --- Silicon/Hisilicon/Hi1610/Drivers/PcieInit1610/PcieInitDxe.inf | 1 + Silicon/Hisilicon/Hi1610/Drivers/PcieInit1610/PcieInitLib.h | 2 + Silicon/Hisilicon/Drivers/PciHostBridgeDxe/PciRootBridgeIo.c | 106

[edk2] [PATCH edk2-platforms 07/12] Hisilicon: add PciHostBridgeLib

2018-03-20 Thread Heyi Guo
This is to prepare for switching to generic PciHostBridge, and PciHostBridgeLib is needed by PciHostBridge driver. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Heyi Guo Cc: Ard Biesheuvel Cc: Leif Lindholm Cc: Michael D Kinney --- Platform/Hisilicon/Library

[edk2] [PATCH edk2-platforms 01/12] Hisilicon: Enable WARN and INFO debug message

2018-03-20 Thread Heyi Guo
INFO and WARN messages are useful when we are debugging, something like PCI enumeration process, and more debug messages should not impact much for they will only be displayed in DEBUG version, not RELEASE one. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Heyi Guo Cc

[edk2] [PATCH edk2-platforms 02/12] Hisilicon/D05/PlatformPciLib: fix misuse of macro

2018-03-20 Thread Heyi Guo
Each PCI root bridge has its own macro definitions for its resource aperture, so that one root bridge should not use macro definitions of other root bridges. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Heyi Guo Cc: Ard Biesheuvel Cc: Leif Lindholm Cc: Michael D

[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 Cc: Ard Biesheuvel Cc: Marc Zyngier Heyi Guo (1): ArmPkg/TimerDxe: Add ISB for timer compare value reload ArmPkg/Dri

[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 Signed-off-by: Yi Li Acked-by: Marc Zyngier Cc: Leif Lindholm Cc: Ard Biesheuvel Cc: Marc Zyngier --- Notes: v3: - Move ISB after enabling timer [Marc] v2: - Use ISB instead of DSB [Marc] - Update commit message a

[edk2] [PATCH v7 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 Signed-off-by: Yi Li Reviewed-by: Ni Ruiyu Cc: Ruiyu Ni Cc: Ard Biesheuvel Cc: Star Zeng Cc: Eric Dong Cc: Laszlo Ersek Cc: Michael D Kinney --- MdeModulePkg/Bus/Pci/PciBusDxe/PciIo.c | 4 1 file changed, 4 insertions(+) d

[edk2] [PATCH v7 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 Signed-off-by: Yi Li Reviewed-by: Ni Ruiyu C

[edk2] [PATCH v7 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 Signed-off-by: Yi Li Reviewed-by: Ni Ruiyu Cc: Ruiyu Ni Cc: Ard Biesheuvel Cc: Star Zeng Cc: Eric Dong Cc: Laszlo Ersek Cc: Michael D Kinney --- MdeModulePkg/Bus/Pci/PciBusDxe/PciI

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

2018-03-14 Thread Heyi Guo
suffer from an additional change. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Heyi Guo Signed-off-by: Yi Li Reviewed-by: Ni Ruiyu Cc: Maurice Ma Cc: Prince Agyeman Cc: Benjamin You Cc: Ruiyu Ni Cc: Laszlo Ersek Cc: Ard Biesheuvel --- Notes: v6: - Move

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

2018-03-14 Thread Heyi Guo
not suffer from an additional change. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Heyi Guo Signed-off-by: Yi Li Reviewed-by: Ni Ruiyu Cc: Jordan Justen Cc: Anthony Perard Cc: Julien Grall Cc: Ruiyu Ni Cc: Laszlo Ersek Cc: Ard Biesheuvel --- Notes: v6

[edk2] [PATCH v7 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: Heyi G

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

2018-03-14 Thread Heyi Guo
in ACPI, and not the same as that in UEFI spec. Cc: Ruiyu Ni Cc: Ard Biesheuvel Cc: Star Zeng Cc: Eric Dong Cc: Laszlo Ersek Cc: Michael D Kinney Cc: Maurice Ma Cc: Prince Agyeman Cc: Benjamin You Cc: Jordan Justen Cc: Anthony Perard Cc: Julien Grall Heyi Guo (6): CorebootPayloadPkg/

[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 Signed-off-by: Yi Li Cc: Ruiyu Ni Cc: Ard Biesheuvel Cc: Star Zeng Cc: Eric Dong Cc: Laszlo Ersek Cc: Michael D Kinney --- MdeModulePkg/Bus/Pci/PciBusDxe/PciIo.c | 8 ++-- 1 f

[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: He

[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 Signed-off-by: Yi Li Cc: Ruiyu Ni Cc: Ard

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

2018-03-14 Thread Heyi Guo
suffer from an additional change. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Heyi Guo Signed-off-by: Yi Li Cc: Maurice Ma Cc: Prince Agyeman Cc: Benjamin You Cc: Ruiyu Ni Cc: Laszlo Ersek Cc: Ard Biesheuvel --- Notes: v6: - Move ZeroMem() into the loop

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

2018-03-14 Thread Heyi Guo
not suffer from an additional change. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Heyi Guo Signed-off-by: Yi Li Cc: Jordan Justen Cc: Anthony Perard Cc: Julien Grall Cc: Ruiyu Ni Cc: Laszlo Ersek Cc: Ard Biesheuvel --- Notes: v6: - Move ZeroMem() into the

[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 Signed-off-by: Yi Li Cc: Ruiyu Ni Cc: Ard Biesheuvel Cc: Star Zeng Cc: Eric Dong Cc: Laszlo Ersek Cc: Michael D Kinney --- MdeModulePkg/Bus/Pci/PciBusDxe/PciIo.c | 4 1 file changed, 4 insertions(+) diff --git a/MdeModulePkg/

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

2018-03-14 Thread Heyi Guo
ael D Kinney Cc: Maurice Ma Cc: Prince Agyeman Cc: Benjamin You Cc: Jordan Justen Cc: Anthony Perard Cc: Julien Grall Heyi Guo (6): CorebootPayloadPkg/PciHostBridgeLib: clear aperture vars for (re)init OvmfPkg/PciHostBridgeLib: clear PCI aperture vars for (re)init MdeModulePkg/PciHost

[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 Cc: Ard Biesheuvel Cc: Marc Zyngier Heyi Guo (1): ArmPkg/TimerDxe: Add ISB for timer compare value reload ArmPkg/Drivers/TimerDxe/TimerDxe.c | 1 + 1 file c

[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 Signed-off-by: Yi Li Cc: Leif Lindholm Cc: Ard Biesheuvel Cc: Marc Zyngier --- Notes: v2: - Use ISB instead of DSB [Marc] - Update commit message accordingly. ArmPkg/Drivers/TimerDxe/TimerDxe.c | 1 + 1 file changed, 1 insertio

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

2018-03-12 Thread Heyi Guo
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 Signed-off-by: Heyi Guo Cc: Ard Biesheuvel Cc: Leif Lindholm Cc: Haojian Zhuang --- Silicon/Hisilicon/Hisilicon.dsc.in

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

2018-03-12 Thread Heyi Guo
From: Jason Zhang Timer is always working on Hisilicon D0x, even system enters WFI/WFE, and there is no other low power status, so we set "always-on" flag in ACPI GTDT. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jason Zhang Signed-off-by: Heyi Gu

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

2018-03-12 Thread Heyi Guo
From: Chenhui Sun Add description of SBSA watchdogs to ACPI GTDT on D05. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Chenhui Sun Signed-off-by: Heyi Guo Cc: Ard Biesheuvel Cc: Leif Lindholm Cc: Graeme Gregory --- Notes: v2: - Use local defines instead of

[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: - Modify patch [3/3] according to Ard's comments. Chenhui Sun (1): Hisilicon/D05: Support SBSA watchdog J

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

2018-03-11 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 Signed-off

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

2018-03-11 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 Cc: Ard Biesheuvel Cc: Marc Zyngier Heyi Guo (1): ArmPkg/TimerDxe: Add DSB for timer compare value reload ArmPkg/Drivers/TimerDxe/TimerDxe.c | 1 + 1 file c

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

2018-03-06 Thread Heyi Guo
From: Jason Zhang Timer is always working on Hisilicon D0x, even system enters WFI/WFE, and there is no other low power status, so we set "always-on" flag in ACPI GTDT. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jason Zhang Signed-off-by: Heyi Gu

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

2018-03-06 Thread Heyi Guo
From: Chenhui Sun Add description of SBSA watchdogs to ACPI GTDT on D05. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Chenhui Sun Signed-off-by: Heyi Guo Cc: Ard Biesheuvel Cc: Leif Lindholm Cc: Graeme Gregory --- Platform/Hisilicon/D05/D05.dsc

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

2018-03-06 Thread Heyi Guo
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 Signed-off-by: Heyi Guo Cc: Ard Biesheuvel Cc: Leif Lindholm Cc: Haojian Zhuang --- Silicon/Hisilicon/Hisilicon.dsc.in

[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 Cc: Ard

[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 Cc: Ard Biesheuvel Cc: Leif Lindholm --- Platform/Hisilicon/D03/D03

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

2018-02-28 Thread Heyi Guo
additional change. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Heyi Guo Cc: Jordan Justen Cc: Anthony Perard Cc: Julien Grall Cc: Ruiyu Ni Cc: Laszlo Ersek Cc: Ard Biesheuvel --- OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.c | 4 OvmfPkg/Library

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

2018-02-28 Thread Heyi Guo
thony Perard Cc: Julien Grall 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: Add support for address translation MdeModulePkg

[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 --- MdeModulePkg/Include/Library/Pci

[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 Cc: Ruiyu Ni Cc: Ard Biesheuvel Cc: Star Zeng Cc: Eric Dong Cc: Laszlo Ersek Cc: Michael D Kinney --- MdeModulePkg/Bus/Pci/PciBusDxe/PciIo.c | 4 1 file changed, 4 insertions(+) diff --git a/MdeModulePkg/Bus/Pci/PciBusDxe/PciI

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

2018-02-28 Thread Heyi Guo
additional change. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Heyi Guo Cc: Maurice Ma Cc: Prince Agyeman Cc: Benjamin You Cc: Ruiyu Ni Cc: Laszlo Ersek Cc: Ard Biesheuvel --- CorebootPayloadPkg/Library/PciHostBridgeLib/PciHostBridgeSupport.c | 5 + 1 file changed

[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 Cc: Ruiyu Ni Cc: Ard Biesheuvel Cc: Star Zeng Cc: Eric Dong Cc: Laszlo Ersek Cc: Michael D Kinney --- MdeModulePkg/Bus/Pci/PciBusDxe/PciIo.c | 8 ++-- 1 file changed, 6 inserti

[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: Heyi Gu

[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 Cc: Star Zeng Cc: Eric Dong Cc: Ruiyu Ni Cc: Laszlo Ersek --- Notes: v2

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

2018-02-26 Thread Heyi Guo
to PciHostBridgeResourceConflict is host address, for it comes from ResAllocNode. RESTRICTION: 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

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

2018-02-26 Thread Heyi Guo
hael D Kinney Heyi Guo (3): MdeModulePkg/PciHostBridgeDxe: Add support for address translation MdeModulePkg/PciBus: convert host address to device address MdeModulePkg/PciBus: return CPU address for GetBarAttributes MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostResource.h | 2 + MdeMod

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

2018-02-26 Thread Heyi Guo
der: TianoCore Contribution Agreement 1.1 Signed-off-by: Heyi Guo Cc: Ruiyu Ni Cc: Ard Biesheuvel Cc: Star Zeng Cc: Eric Dong Cc: Laszlo Ersek Cc: Michael D Kinney --- MdeModulePkg/Bus/Pci/PciBusDxe/PciIo.c | 4 1 file changed, 4 insertions(+) diff --git a/MdeModulePkg/Bus/Pci/PciBusDxe/PciI

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

2018-02-26 Thread Heyi Guo
ost address + translation offset. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Heyi Guo Cc: Ruiyu Ni Cc: Ard Biesheuvel Cc: Star Zeng Cc: Eric Dong Cc: Laszlo Ersek Cc: Michael D Kinney --- MdeModulePkg/Bus/Pci/PciBusDxe/PciIo.c | 8 ++-- 1 file changed, 6 inserti

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

2018-02-26 Thread Heyi Guo
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 Cc

[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 Cc: Ruiyu Ni Cc: Ard Biesheuvel Cc: Star Zeng Cc: Eric Dong Cc: Laszlo Ersek Cc: Michael D Kinney --- MdeModulePkg/Bus/Pci/PciBusDxe/PciIo.c | 4 1 file changed, 4 insertions(+) diff --git a/MdeModulePkg/Bus/Pci/PciBusDxe/PciI

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

2018-02-23 Thread Heyi Guo
n ACPI, and not the same as that in UEFI spec. This is still RFC version, so we have not gone thru all the code in EDK2 for applying the change of PciSegmentLib definition. Cc: Ruiyu Ni Cc: Ard Biesheuvel Cc: Star Zeng Cc: Eric Dong Cc: Laszlo Ersek Cc: Michael D Kinney Heyi Guo (3): MdeMod

[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 Cc: Ruiyu Ni Cc: Ard Biesheuvel Cc: Star Zeng Cc: Eric Dong Cc: Laszlo Ersek Cc: Michael D Kinney --- MdeModulePkg/Bus/Pci/PciBusDxe/PciIo.c | 8 ++-- 1 file changed, 6 inserti

[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 Cc: Ruiyu Ni Cc: Ard Biesheuvel Cc: Star Zeng Cc: Eric Dong Cc: Laszlo Ersek Cc: Michael D Kinney --- .../Bus/Pci/PciHostBridgeDxe/P

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

2018-02-21 Thread Heyi Guo
ve not gone thru all the code in EDK2 for applying the change of PciSegmentLib definition. Cc: Ruiyu Ni Cc: Ard Biesheuvel Cc: Star Zeng Cc: Eric Dong Cc: Laszlo Ersek Cc: Michael D Kinney Heyi Guo (2): MdeModulePkg/PciHostBridgeDxe: Add support for address translation MdeModulePkg/PciBus:

[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 Cc: Ruiyu Ni Cc: Ard Biesheuvel Cc: Star Zeng Cc: Eric Dong Cc: Laszlo Ersek

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

2018-02-21 Thread Heyi Guo
only 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 Cc: Ruiyu Ni Cc: Ard Biesheuvel Cc: Star Zeng Cc: Eric Dong Cc: Laszlo Ersek Cc: Mich

[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 Signed-off-by: Ming Huang Signed-off-by: Heyi Guo Reviewed-by: Ard Biesheuvel Reviewed-by: Leif Lindholm Reviewed-by: Graeme

[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 Signed-off-by: Heyi Guo Signed-off-by: GongChengYa Reviewed-by: Leif Lindholm Reviewed-by

[edk2] [PATCH edk2-platforms v4 11/15] Hisilicon/D05: 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 Signed-off-by: Heyi Guo Signed-off-by: GongChengYa Reviewed-by: Leif Lindholm Reviewed-by

[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 Signed-off-by: Heyi Guo Reviewed-by: Ard Biesheuvel Reviewed-by: Leif Lindholm Reviewed-by: Graeme Gregory --- Silicon/Hisilicon/Hi1616/D05AcpiTables/D05Srat.aslc | 10

[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 Signed-off-by: Heyi Guo Reviewed-by: Leif Lindholm Reviewed-by: Ard Biesheuvel Reviewed-by: Graeme

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

2018-02-07 Thread Heyi Guo
In order to replace command line parameter pcie_aspm=off, BIOS needs to disable Pcie Aspm support during Pcie initilization. D03 and D05 do not support PCIe ASPM, so we disable it in BIOS. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ming Huang Signed-off-by: Heyi Guo

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

2018-02-07 Thread Heyi Guo
: Heyi Guo Reviewed-by: Leif Lindholm Reviewed-by: Ard Biesheuvel --- Platform/Hisilicon/D03/D03.dsc | 1 + Platform/Hisilicon/D03/D03.fdf | 2 +- Platform/Hisilicon/D05/D05.dsc | 1 + Platform

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

2018-02-07 Thread Heyi Guo
: Ming Huang Signed-off-by: Heyi Guo Reviewed-by: Leif Lindholm Reviewed-by: Ard Biesheuvel --- Silicon/Hisilicon/Drivers/Smbios/ProcessorSubClassDxe/ProcessorSubClass.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Silicon/Hisilicon/Drivers/Smbios

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

2018-02-07 Thread Heyi Guo
PXE boot. https://bugs.linaro.org/show_bug.cgi?id=2657 Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jason Zhang Signed-off-by: Ming Huang Signed-off-by: Heyi Guo Reviewed-by: Leif Lindholm Reviewed-by: Ard Biesheuvel --- Platform/Hisilicon/D03/D03.dsc

[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 Signed-off-by: Ming Huang Signed-off-by: Heyi Guo Reviewed-by: Ard Biesheuvel Reviewed-by: Leif Lindholm --- Platform/Hisilicon/D03/Capsule

[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 Signed-off-by: Ming Huang Signed-off-by: Heyi Guo Reviewed-by: Leif Lindholm Reviewed-by: Ard Biesheuvel --- Platform

[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 Signed-off-by: Heyi Guo Reviewed-by: Leif Lindholm Reviewed-by: Ard Biesheuvel

  1   2   3   4   >