From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mx.groups.io with SMTP id smtpd.web12.2797.1587545580516086204 for ; Wed, 22 Apr 2020 01:53:00 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.136, mailfrom: eric.dong@intel.com) IronPort-SDR: CWMjCRZoD1WUQXDzg4X9/aPCM1xwwUh/BSXKr7eP2d8vz5p7Xb0zQq3vqttNXmIjTxgTo1LGYW r8xonYGigviw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Apr 2020 01:53:00 -0700 IronPort-SDR: LCGjzpiHBbZUhXSOLx54snGl1NBsghX/WYs+scItAZKcvoEcAi/8A5xUZNtKfg6axDc3uADkqd 1c3cQIzmM18w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,413,1580803200"; d="scan'208";a="334555631" Received: from ydong10-desktop.ccr.corp.intel.com ([10.239.158.133]) by orsmga001.jf.intel.com with ESMTP; 22 Apr 2020 01:52:58 -0700 From: "Dong, Eric" To: devel@edk2.groups.io Cc: Ray Ni , Laszlo Ersek , Chandana Kumar Subject: [PATCH v2 0/2] UefiCpuPkg/MpInitLib: Fix ASSERT in AP procedure Date: Wed, 22 Apr 2020 16:52:51 +0800 Message-Id: <20200422085252.1412-1-eric.dong@intel.com> X-Mailer: git-send-email 2.23.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2683 =0D =0D This patch serial used to fix an ASSERT issue. Because AP can't find =0D the CpuMpData through IDT, it raised the ASSERT.=0D V2:=0D 1. Enhance code comments.=0D 2. Enhance code to remove CpuMpData->ApLoopMode =3D=3D ApInHltLoop check.=0D =0D Cc: Ray Ni =0D Cc: Laszlo Ersek =0D Cc: Chandana Kumar =0D Eric Dong (2): UefiCpuPkg/MpInitLib: Restore IDT context for APs. UefiCpuPkg/MpInitLib: Avoid ApInitReconfig in PEI. UefiCpuPkg/Library/MpInitLib/MpLib.c | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) --=20 2.23.0.windows.1