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.120, mailfrom: liming.gao@intel.com) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by groups.io with SMTP; Tue, 25 Jun 2019 20:30:11 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Jun 2019 20:30:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,418,1557212400"; d="scan'208";a="163804138" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga007.fm.intel.com with ESMTP; 25 Jun 2019 20:30:11 -0700 Received: from fmsmsx113.amr.corp.intel.com (10.18.116.7) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 25 Jun 2019 20:30:10 -0700 Received: from shsmsx106.ccr.corp.intel.com (10.239.4.159) by FMSMSX113.amr.corp.intel.com (10.18.116.7) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 25 Jun 2019 20:30:10 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.185]) by SHSMSX106.ccr.corp.intel.com ([169.254.10.89]) with mapi id 14.03.0439.000; Wed, 26 Jun 2019 11:30:09 +0800 From: "Liming Gao" To: "devel@edk2.groups.io" , "Dong, Eric" CC: "Ni, Ray" , Laszlo Ersek Subject: Re: [edk2-devel] [Patch 0/2] Enable new MM MP protocol. Thread-Topic: [edk2-devel] [Patch 0/2] Enable new MM MP protocol. Thread-Index: AQHVJmMOPemEjGz/7UKDNT3H9JI8haatUfUQ Date: Wed, 26 Jun 2019 03:30:08 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14E48D780@SHSMSX104.ccr.corp.intel.com> References: <20190619055114.12744-1-eric.dong@intel.com> In-Reply-To: <20190619055114.12744-1-eric.dong@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Return-Path: liming.gao@intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Eric: Please submit one BZ for it. Seemly, this is a new feature. I will add i= t into Q3 stable tag feature plan.=20 Thanks Liming >-----Original Message----- >From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of >Dong, Eric >Sent: Wednesday, June 19, 2019 1:51 PM >To: devel@edk2.groups.io >Cc: Ni, Ray ; Laszlo Ersek >Subject: [edk2-devel] [Patch 0/2] Enable new MM MP protocol. > >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 explicitly >2. Allow broadcasts. >3. Allow execution of a procedure when a processor powers up. > >This patch serial enable this new protocol. > >Cc: Ray Ni >Cc: Laszlo Ersek > >Eric Dong (2): > MdePkg: Add new MM MP Protocol definition. > UefiCpuPkg/PiSmmCpuDxeSmm: Enable MM MP Protocol. > > MdePkg/Include/Pi/PiMultiPhase.h | 16 + > MdePkg/Include/Protocol/MmMp.h | 334 +++++++++++++ > MdePkg/Include/Protocol/SmmMp.h | 44 ++ > MdePkg/MdePkg.dec | 6 + > UefiCpuPkg/PiSmmCpuDxeSmm/MpProtocol.c | 375 +++++++++++++++ > UefiCpuPkg/PiSmmCpuDxeSmm/MpProtocol.h | 283 +++++++++++ > UefiCpuPkg/PiSmmCpuDxeSmm/MpService.c | 468 >++++++++++++++++++- > UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.c | 11 + > UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.h | 172 ++++++- > UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf | 3 + > 10 files changed, 1696 insertions(+), 16 deletions(-) > create mode 100644 MdePkg/Include/Protocol/MmMp.h > create mode 100644 MdePkg/Include/Protocol/SmmMp.h > create mode 100644 UefiCpuPkg/PiSmmCpuDxeSmm/MpProtocol.c > create mode 100644 UefiCpuPkg/PiSmmCpuDxeSmm/MpProtocol.h > >-- >2.21.0.windows.1 > > >