From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mx.groups.io with SMTP id smtpd.web11.2717.1587545162325592913 for ; Wed, 22 Apr 2020 01:46:02 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.120, mailfrom: eric.dong@intel.com) IronPort-SDR: 9RxhErhGKlRGixIILocUsURcQsuCA/e9qK8n9DSLDuSIemecn4YMCy2NgHwNlWk8And2RUjwbh 4BnkVeXAIkbA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Apr 2020 01:46:01 -0700 IronPort-SDR: 4mkQeNRTN5vG32iOSo4e8klim6lBmNBRzgCon8gCR5l39N3Vfh9IHF69p/ljIB0WdMhmkovK6h RKUWMgthloQw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,413,1580803200"; d="scan'208";a="334553920" Received: from ydong10-desktop.ccr.corp.intel.com ([10.239.158.133]) by orsmga001.jf.intel.com with ESMTP; 22 Apr 2020 01:46:00 -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:45:56 +0800 Message-Id: <20200422084558.623-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