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.4444.1587554604124894045 for ; Wed, 22 Apr 2020 04:23:24 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.120, mailfrom: ray.ni@intel.com) IronPort-SDR: b01JJvAABNcyPP3ZCHb3IbQuxW/uk1QOZAF7n0VJwJz1is4hNzso6nOFPq+6KJsndXE6m0YjTS fIbhG2qhZKLA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Apr 2020 04:23:23 -0700 IronPort-SDR: uzjSRW2yvSjYIt2YOljNJN9gkTVWaIMJPeWagUB2b2Bnpp3+NAQDp2/7JuyX8/LQFbtEUwWqMx 1k4QGVvqPUbw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,414,1580803200"; d="scan'208";a="429875379" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga005.jf.intel.com with ESMTP; 22 Apr 2020 04:23:23 -0700 Received: from fmsmsx123.amr.corp.intel.com (10.18.125.38) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 22 Apr 2020 04:23:22 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by fmsmsx123.amr.corp.intel.com (10.18.125.38) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 22 Apr 2020 04:23:22 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.225]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.146]) with mapi id 14.03.0439.000; Wed, 22 Apr 2020 19:23:21 +0800 From: "Ni, Ray" To: "Dong, Eric" , "devel@edk2.groups.io" CC: Laszlo Ersek , "Kumar, Chandana C" Subject: Re: [PATCH v2 2/2] UefiCpuPkg/MpInitLib: Avoid ApInitReconfig in PEI. Thread-Topic: [PATCH v2 2/2] UefiCpuPkg/MpInitLib: Avoid ApInitReconfig in PEI. Thread-Index: AQHWGISb9EpEht3JKUOTn/hlIhYdc6iE/5mw Date: Wed, 22 Apr 2020 11:23:20 +0000 Message-ID: <734D49CCEBEEF84792F5B80ED585239D5C50872C@SHSMSX104.ccr.corp.intel.com> References: <20200422090111.423-1-eric.dong@intel.com> <20200422090111.423-2-eric.dong@intel.com> In-Reply-To: <20200422090111.423-2-eric.dong@intel.com> Accept-Language: en-US, zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Return-Path: ray.ni@intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable > -----Original Message----- > From: Dong, Eric > Sent: Wednesday, April 22, 2020 5:01 PM > To: devel@edk2.groups.io > Cc: Dong, Eric ; Ni, Ray ; Laszlo > Ersek ; Kumar, Chandana C > > Subject: [PATCH v2 2/2] UefiCpuPkg/MpInitLib: Avoid ApInitReconfig in PEI= . >=20 > From: "Dong, Eric" >=20 > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2683 >=20 > In PEI phase, AP already been waked up through ApInitConfig, > so it can directly wake up it through change wakup buffer > instead of use ApInitReconfig flag. It can save some time. >=20 > Change code to only use ApInitReconfig flag in DXE phase > which must need to update the wake up buffer. >=20 > Cc: Ray Ni > Cc: Laszlo Ersek > Cc: Chandana Kumar > Signed-off-by: Eric Dong > --- >=20 > V2: >=20 > 1. Enhance code to remove CpuMpData->ApLoopMode =3D=3D ApInHltLoop > check. What does this mean for this patch?