[edk2-devel] [Patch v5 0/2] Enable new MM MP protocol

Dong, Eric posted 2 patches 4 years, 9 months ago
Failed in applying to current master (apply log)
MdePkg/Include/Pi/PiMultiPhase.h             |  16 +
MdePkg/Include/Protocol/MmMp.h               | 333 +++++++++++
MdePkg/MdePkg.dec                            |   3 +
UefiCpuPkg/PiSmmCpuDxeSmm/MpService.c        | 570 ++++++++++++++++++-
UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.c   |  18 +
UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.h   | 193 ++++++-
UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf |   3 +
UefiCpuPkg/PiSmmCpuDxeSmm/SmmMp.c            | 344 +++++++++++
UefiCpuPkg/PiSmmCpuDxeSmm/SmmMp.h            | 286 ++++++++++
9 files changed, 1743 insertions(+), 23 deletions(-)
create mode 100644 MdePkg/Include/Protocol/MmMp.h
create mode 100644 UefiCpuPkg/PiSmmCpuDxeSmm/SmmMp.c
create mode 100644 UefiCpuPkg/PiSmmCpuDxeSmm/SmmMp.h
[edk2-devel] [Patch v5 0/2] Enable new MM MP protocol
Posted by Dong, Eric 4 years, 9 months ago
V5:
1. Some small enhancement.

V4 changes:
1. Use link list to save the used tokens.

V3 changes:
1. Fix Token clean up too early caused CheckProcedure return error.

V1 changes:
RFC: https://bugzilla.tianocore.org/show_bug.cgi?id=1937

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 <ray.ni@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>


Eric Dong (2):
  MdePkg: Add new MM MP Protocol definition.
  V5 changes: 1. some small enhancement.

 MdePkg/Include/Pi/PiMultiPhase.h             |  16 +
 MdePkg/Include/Protocol/MmMp.h               | 333 +++++++++++
 MdePkg/MdePkg.dec                            |   3 +
 UefiCpuPkg/PiSmmCpuDxeSmm/MpService.c        | 570 ++++++++++++++++++-
 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.c   |  18 +
 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.h   | 193 ++++++-
 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf |   3 +
 UefiCpuPkg/PiSmmCpuDxeSmm/SmmMp.c            | 344 +++++++++++
 UefiCpuPkg/PiSmmCpuDxeSmm/SmmMp.h            | 286 ++++++++++
 9 files changed, 1743 insertions(+), 23 deletions(-)
 create mode 100644 MdePkg/Include/Protocol/MmMp.h
 create mode 100644 UefiCpuPkg/PiSmmCpuDxeSmm/SmmMp.c
 create mode 100644 UefiCpuPkg/PiSmmCpuDxeSmm/SmmMp.h

-- 
2.21.0.windows.1


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#43461): https://edk2.groups.io/g/devel/message/43461
Mute This Topic: https://groups.io/mt/32414080/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-

Re: [edk2-devel] [Patch v5 0/2] Enable new MM MP protocol
Posted by Laszlo Ersek 4 years, 9 months ago
On 07/10/19 09:56, Dong, Eric wrote:
> V5:
> 1. Some small enhancement.
> 
> V4 changes:
> 1. Use link list to save the used tokens.
> 
> V3 changes:
> 1. Fix Token clean up too early caused CheckProcedure return error.
> 
> V1 changes:
> RFC: https://bugzilla.tianocore.org/show_bug.cgi?id=1937
> 
> 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 <ray.ni@intel.com>
> Cc: Laszlo Ersek <lersek@redhat.com>

Thanks -- given Ray's approval, I plan to regression test this version
later this week.

Cheers
Laszlo

-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#43486): https://edk2.groups.io/g/devel/message/43486
Mute This Topic: https://groups.io/mt/32414080/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-