From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mx.groups.io with SMTP id smtpd.web08.28377.1655717791517777367 for ; Mon, 20 Jun 2022 02:36:32 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=HGez/HZY; spf=pass (domain: intel.com, ip: 192.55.52.93, 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=1655717791; x=1687253791; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=xSXZPxaWdW2+QdxL2lnlFbYH3h3ZSe6qrN9fqovFYcc=; b=HGez/HZYEn3mEo5jf43bUOwtN6jNFtybstloG1GZqjEBgme65yXcw4NZ oNgRPXwDCUdiT65Q8rxC32XFa62Y5+xdH2mNyw7IgOEtCbB7xy50UB3Ui WvEmj77sC0mwa1z13UmA9GmbiyR23EUqdkO4yCEi5nuiZOK7B2uEPRKzq X/iH0hmYmTyJmcsoGxidtFIp/fU+b+UYETLGUol+IHBuZkQ/tLE/FBsga NXgwB0HTxJxchCBTbzIw7KtEswJIULAEJo80/Kc9hnPNAgOFkl1xbiGTK r884y4JwJC9hYUYNqJqpkJ6ZjMkZfqwobQu+u8cwBSghud9jEkan7kkEK Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10380"; a="277399470" X-IronPort-AV: E=Sophos;i="5.92,306,1650956400"; d="scan'208";a="277399470" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jun 2022 02:36:26 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,306,1650956400"; d="scan'208";a="654595302" Received: from sep081ff3625096.sh.intel.com (HELO win_li.ccr.corp.intel.com) ([10.239.157.34]) by fmsmga004.fm.intel.com with ESMTP; 20 Jun 2022 02:36:25 -0700 From: "Li, Zhihao" To: devel@edk2.groups.io Cc: Michael D Kinney , Liming Gao Subject: [PATCH 1/1] MdePkg: Remove "assert" from SmmCpuRendevousLibNull.c Date: Mon, 20 Jun 2022 17:36:14 +0800 Message-Id: <20220620093615.1535-6-zhihao.li@intel.com> X-Mailer: git-send-email 2.26.2.windows.1 In-Reply-To: <20220620093615.1535-1-zhihao.li@intel.com> References: <20220620093615.1535-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: Michael D Kinney Cc: Liming Gao 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