From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mx.groups.io with SMTP id smtpd.web08.28505.1655718963287040833 for ; Mon, 20 Jun 2022 02:56:04 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=nfcH1jv8; spf=pass (domain: intel.com, ip: 134.134.136.31, mailfrom: zhihao.li@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655718964; x=1687254964; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=x0iGyYJmZ6J1ZQ/OSsVLvuYXLTwnOv6Jyy4W87FKX0Y=; b=nfcH1jv8I1ZqOJ5qHywudXPb5/iALifuEHD2Bj/LhZGLhqqpAXMU17rb gtiVYkGdqhLmqk8TcjinivIBZFvaIClpNQJSiIHgw0zE3PWqlxpDwxYHG YIQ6/LA/BDz8POLc8OL2fQM2agfm0lH72Wo51LpHLwUx1ne9KI/IDp7JW nOw05+tYQZQcb8fzq02+L9gy1t/6VTtApPj440inLzqWpc6tkh+ibSmLE qZ7O4tHDwFjHnT//fyEp78ehgVCGs1jG04tHg5EGsr8GvT8zHG4UuDwkZ hbvTHklP58eghN1oUwG9e6nC1gjcGnsjnHaQXvSjMEasmOAPIPQlrjRBA Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10380"; a="341536210" X-IronPort-AV: E=Sophos;i="5.92,306,1650956400"; d="scan'208";a="341536210" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jun 2022 02:56:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,306,1650956400"; d="scan'208";a="643043355" Received: from sep081ff3625096.sh.intel.com (HELO win_li.ccr.corp.intel.com) ([10.239.157.34]) by fmsmga008.fm.intel.com with ESMTP; 20 Jun 2022 02:56:02 -0700 From: "Li, Zhihao" To: devel@edk2.groups.io Cc: Jiewen Yao , Jian J Wang , Liming Gao Subject: [PATCH 1/1] MdePkg: Remove "assert" from SmmCpuRendevousLibNull.c Date: Mon, 20 Jun 2022 17:55:53 +0800 Message-Id: <20220620095555.1625-5-zhihao.li@intel.com> X-Mailer: git-send-email 2.26.2.windows.1 In-Reply-To: <20220620095555.1625-1-zhihao.li@intel.com> References: <20220620095555.1625-1-zhihao.li@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Zhihao Li REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3931 Some drivers will break down when they use SmmWaitForAllProcessor() which from SmmCpuRendezvousLibNull.c. Removing the code "ASSERT(False)" will make consumer work normally if they keep default setting for sync mode. Cc: Jiewen Yao =0D Cc: Jian J Wang Signed-off-by: Zhihao Li Reviewed-by: Liming Gao --- MdePkg/Library/SmmCpuRendezvousLibNull/SmmCpuRendezvousLibNull.c | 1 - 1 file changed, 1 deletion(-) diff --git a/MdePkg/Library/SmmCpuRendezvousLibNull/SmmCpuRendezvousLibNull= .c b/MdePkg/Library/SmmCpuRendezvousLibNull/SmmCpuRendezvousLibNull.c index 474195bbb374..769f4c673802 100644 --- a/MdePkg/Library/SmmCpuRendezvousLibNull/SmmCpuRendezvousLibNull.c +++ b/MdePkg/Library/SmmCpuRendezvousLibNull/SmmCpuRendezvousLibNull.c @@ -24,6 +24,5 @@ SmmWaitForAllProcessor ( IN BOOLEAN BlockingMode=0D )=0D {=0D - ASSERT (FALSE);=0D return EFI_SUCCESS;=0D }=0D --=20 2.26.2.windows.1