From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.136, mailfrom: jiewen.yao@intel.com) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by groups.io with SMTP; Tue, 02 Jul 2019 19:44:41 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Jul 2019 19:44:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,445,1557212400"; d="scan'208";a="315434990" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga004.jf.intel.com with ESMTP; 02 Jul 2019 19:44:40 -0700 Received: from fmsmsx114.amr.corp.intel.com (10.18.116.8) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 2 Jul 2019 19:44:40 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by FMSMSX114.amr.corp.intel.com (10.18.116.8) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 2 Jul 2019 19:44:39 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.3]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.134]) with mapi id 14.03.0439.000; Wed, 3 Jul 2019 10:44:38 +0800 From: "Yao, Jiewen" To: "devel@edk2.groups.io" , "Dong, Eric" CC: "Ni, Ray" , Laszlo Ersek Subject: Re: [edk2-devel] [Patch v3 0/2] Enable new MM MP protocol Thread-Topic: [edk2-devel] [Patch v3 0/2] Enable new MM MP protocol Thread-Index: AQHVMUkLtdpRkaWPfEa9vey3mi+gP6a4L8NQ Date: Wed, 3 Jul 2019 02:44:37 +0000 Message-ID: <74D8A39837DF1E4DA445A8C0B3885C503F6F1EB1@shsmsx102.ccr.corp.intel.com> References: <20190703024242.33572-1-eric.dong@intel.com> In-Reply-To: <20190703024242.33572-1-eric.dong@intel.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMTk1N2MwNmItN2YzYi00OWYxLWI4NGMtZmEwMTNjMWM3ZGE3IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiVDlvSkJuaUx2YTBIOUdZYnc5Q2E1Y1RTb0VmMitQUkw3YUozdmd6aWl4REV5dEZ2YkxKNEs1ZkxCcTJxRUthViJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Return-Path: jiewen.yao@intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable HI Eric Would you please share what unit test you have done for this new feature? > -----Original Message----- > From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of > Dong, Eric > Sent: Wednesday, July 3, 2019 10:43 AM > To: devel@edk2.groups.io > Cc: Ni, Ray ; Laszlo Ersek > Subject: [edk2-devel] [Patch v3 0/2] Enable new MM MP protocol >=20 > v3 changes: > 1. Fix Token clean up too early caused CheckProcedure return error. >=20 > https://bugzilla.tianocore.org/show_bug.cgi?id=3D1937 >=20 > PI spec added a new protocol named MM MP protocol. This protocol > allows for better remote queuing of execution of procedures on an AP. > This extends the existing procedures to allow: > 1. A function to be called in blocking and non-blocking manner explicitl= y > 2. Allow broadcasts. > 3. Allow execution of a procedure when a processor powers up. >=20 > This patch serial enable this new protocol. >=20 > Cc: Ray Ni > Cc: Laszlo Ersek >=20 > Eric Dong (2): > MdePkg: Add new MM MP Protocol definition. > UefiCpuPkg/PiSmmCpuDxeSmm: Enable MM MP Protocol. >=20 > MdePkg/Include/Pi/PiMultiPhase.h | 16 + > MdePkg/Include/Protocol/MmMp.h | 333 +++++++++++ > MdePkg/MdePkg.dec | 3 + > UefiCpuPkg/PiSmmCpuDxeSmm/MpService.c | 555 > ++++++++++++++++++- > UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.c | 11 + > UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.h | 160 +++++- > UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf | 3 + > UefiCpuPkg/PiSmmCpuDxeSmm/SmmMp.c | 372 > +++++++++++++ > UefiCpuPkg/PiSmmCpuDxeSmm/SmmMp.h | 286 > ++++++++++ > 9 files changed, 1722 insertions(+), 17 deletions(-) > create mode 100644 MdePkg/Include/Protocol/MmMp.h > create mode 100644 UefiCpuPkg/PiSmmCpuDxeSmm/SmmMp.c > create mode 100644 UefiCpuPkg/PiSmmCpuDxeSmm/SmmMp.h >=20 > -- > 2.21.0.windows.1 >=20 >=20 >=20