Re: [PATCH v1 1/1] UefiPayloadPkg: Add dependency of VariableSmm driver.

Guo Dong

Reviewed-by: Guo Dong <guo.dong@...>

-----Original Message-----
From: Li, Zhihao <>
Sent: Tuesday, March 29, 2022 12:12 AM
Cc: Dong, Guo <guo.dong@...>; Ni, Ray <>; You, Benjamin <>; Rhodes, Sean <sean@...>; Fu, Siyuan <siyuan.fu@...>
Subject: [PATCH v1 1/1] UefiPayloadPkg: Add dependency of VariableSmm driver.


UefiCpuPkg define a new Protocol with the new services SmmWaitForAllProcessor(), which can be used by SMI handler to optionally wait for other APs to complete SMM rendezvous in relaxed AP mode.

VariableSmm driver need use SmmCpuRendezvousLib, So add SmmCpuRendezvousLib dependency in UefiPayloadPkg which use VariableSmm driver.

Cc: Guo Dong <guo.dong@...>
Cc: Ray Ni <>
Cc: Benjamin You <>
Cc: Sean Rhodes <sean@...>
Cc: Siyuan Fu <siyuan.fu@...>

Signed-off-by: Zhihao Li <>
UefiPayloadPkg/UefiPayloadPkg.dsc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/UefiPayloadPkg/UefiPayloadPkg.dsc b/UefiPayloadPkg/UefiPayloadPkg.dsc
index 14a8d157a292..a9feba47bbd9 100644
--- a/UefiPayloadPkg/UefiPayloadPkg.dsc
+++ b/UefiPayloadPkg/UefiPayloadPkg.dsc
@@ -3,7 +3,7 @@
# # Provides drivers and definitions to create uefi payload for bootloaders. #-# Copyright (c) 2014 - 2021, Intel Corporation. All rights reserved.<BR>+# Copyright (c) 2014 - 2022, Intel Corporation. All rights reserved.<BR> # Copyright (c) Microsoft Corporation. # SPDX-License-Identifier: BSD-2-Clause-Patent #@@ -352,6 +352,7 @@
SmmCpuFeaturesLib|UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf+ SmmCpuRendezvousLib|UefiCpuPkg/Library/SmmCpuRendezvousLib/SmmCpuRendezvousLib.inf !if $(PERFORMANCE_MEASUREMENT_ENABLE) PerformanceLib|MdeModulePkg/Library/SmmPerformanceLib/SmmPerformanceLib.inf !endif--

Join to automatically receive all group messages.