From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.20, mailfrom: eric.dong@intel.com) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by groups.io with SMTP; Tue, 18 Jun 2019 22:51:27 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Jun 2019 22:51:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,392,1557212400"; d="scan'208";a="150508239" Received: from ydong10-win10.ccr.corp.intel.com ([10.239.158.133]) by orsmga007.jf.intel.com with ESMTP; 18 Jun 2019 22:51:26 -0700 From: "Dong, Eric" To: devel@edk2.groups.io Cc: Ray Ni , Laszlo Ersek Subject: [Patch 0/2] Enable new MM MP protocol. Date: Wed, 19 Jun 2019 13:51:12 +0800 Message-Id: <20190619055114.12744-1-eric.dong@intel.com> X-Mailer: git-send-email 2.21.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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