@jdzhang@kunluntech.com.cn

 

Edk2 hardware freeze in unlock, Could you help send the Edk2 PR for it ? We can help to check in it to unlock the ECC failure.

 

Thanks

Gua

From: Guo, Gua
Sent: Friday, November 11, 2022 9:40 AM
To: devel@edk2.groups.io; jdzhang@kunluntech.com.cn
Subject: RE: [edk2-devel] [PATCH] UefiPayloadPkg: Define default values for the DynamicEX PCDs

 

Due to hardware freeze, it needs to wait after hardware freeze.

 

Reviewed-by: Gua Guo <gua.guo@intel.com>

 

From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Jiading Zhang
Sent: Friday, November 11, 2022 8:56 AM
To: devel@edk2.groups.io
Subject: [edk2-devel] [PATCH] UefiPayloadPkg: Define default values for the DynamicEX PCDs

 

The following PCDs have no value in UefiPayloadPkg.dscand they can not pass the Ecc tool check, so assign the default values the same as they are in *.dec file.

  gEfiMdeModulePkgTokenSpaceGuid.PcdAriSupport

  gEfiMdeModulePkgTokenSpaceGuid.PcdMrIovSupport

  gEfiMdeModulePkgTokenSpaceGuid.PcdSrIovSupport

  gEfiMdeModulePkgTokenSpaceGuid.PcdSrIovSystemPageSize

  gUefiCpuPkgTokenSpaceGuid.PcdCpuApInitTimeOutInMicroSeconds

  gUefiCpuPkgTokenSpaceGuid.PcdCpuApLoopMode

  gUefiCpuPkgTokenSpaceGuid.PcdCpuMicrocodePatchAddress

  gUefiCpuPkgTokenSpaceGuid.PcdCpuMicrocodePatchRegionSize

 

Signed-off-by: jdzhang <jdzhang@kunluntech.com.cn>

---

 UefiPayloadPkg/UefiPayloadPkg.dsc | 16 ++++++++--------

 1 file changed, 8 insertions(+), 8 deletions(-)

 

diff --git a/UefiPayloadPkg/UefiPayloadPkg.dsc b/UefiPayloadPkg/UefiPayloadPkg.dsc

index 1150be6acd..ce7d3a7f89 100644

--- a/UefiPayloadPkg/UefiPayloadPkg.dsc

+++ b/UefiPayloadPkg/UefiPayloadPkg.dsc

@@ -530,14 +530,14 @@

   gEfiMdePkgTokenSpaceGuid.PcdUartDefaultParity|$(UART_DEFAULT_PARITY)

   gEfiMdePkgTokenSpaceGuid.PcdUartDefaultStopBits|$(UART_DEFAULT_STOP_BITS)

   gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|$(DEFAULT_TERMINAL_TYPE)

-  gEfiMdeModulePkgTokenSpaceGuid.PcdAriSupport

-  gEfiMdeModulePkgTokenSpaceGuid.PcdMrIovSupport

-  gEfiMdeModulePkgTokenSpaceGuid.PcdSrIovSupport

-  gEfiMdeModulePkgTokenSpaceGuid.PcdSrIovSystemPageSize

-  gUefiCpuPkgTokenSpaceGuid.PcdCpuApInitTimeOutInMicroSeconds

-  gUefiCpuPkgTokenSpaceGuid.PcdCpuApLoopMode

-  gUefiCpuPkgTokenSpaceGuid.PcdCpuMicrocodePatchAddress

-  gUefiCpuPkgTokenSpaceGuid.PcdCpuMicrocodePatchRegionSize

+  gEfiMdeModulePkgTokenSpaceGuid.PcdAriSupport|TRUE

+  gEfiMdeModulePkgTokenSpaceGuid.PcdMrIovSupport|FALSE

+  gEfiMdeModulePkgTokenSpaceGuid.PcdSrIovSupport|TRUE

+  gEfiMdeModulePkgTokenSpaceGuid.PcdSrIovSystemPageSize|0x1

+  gUefiCpuPkgTokenSpaceGuid.PcdCpuApInitTimeOutInMicroSeconds|50000

+  gUefiCpuPkgTokenSpaceGuid.PcdCpuApLoopMode|1

+  gUefiCpuPkgTokenSpaceGuid.PcdCpuMicrocodePatchAddress|0x0

+  gUefiCpuPkgTokenSpaceGuid.PcdCpuMicrocodePatchRegionSize|0x0

 !if ($(TARGET) == DEBUG || $(USE_CBMEM_FOR_CONSOLE) == TRUE)

   gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE

 !else

-- 

2.38.1.windows.1