public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH v3 0/3] ArmPkg,MdeModulePkg: Implement EFI_MP_SERVICES_PROTOCOL for AArch64 and add MpServicesTest application
@ 2023-01-04 15:30 Rebecca Cran
  2023-01-04 15:30 ` [PATCH v3 1/3] ArmPkg: Add GET_MPIDR_AFFINITY_BITS and MPIDR_MT_BIT to ArmLib.h Rebecca Cran
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Rebecca Cran @ 2023-01-04 15:30 UTC (permalink / raw)
  To: devel, Sami Mujawar, Ard Biesheuvel, Leif Lindholm, Jian J Wang,
	Liming Gao
  Cc: Rebecca Cran

Implement EFI_MP_SERVICES_PROTOCOL based on PSCI calls for AArch64, and
add an MpServicesTest application to exercise it.

Changes from v2:

- Moved definition of MT bit and macro to get affinity bits into
  ArmLib.h.
- Fixed issues noted during review.
- Fixed various issues in non-blocking mode.
- Fixed bugs when a timeout occurs.

Tested on NVIDIA Jetson AGX Orin Developer Kit,
Arm Juno r2.
The RDN2 (Neoverse N2) FVP has problems with caches, but I believe this
is a bug in the model, not the MP Services code.

Personal (test) PR: https://github.com/tianocore/edk2/pull/3849

Rebecca Cran (3):
  ArmPkg: Add GET_MPIDR_AFFINITY_BITS and MPIDR_MT_BIT to ArmLib.h
  ArmPkg: implement EFI_MP_SERVICES_PROTOCOL based on PSCI calls
  MdeModulePkg: Add new Application/MpServicesTest application

 ArmPkg/ArmPkg.dsc                                            |    1 +
 MdeModulePkg/MdeModulePkg.dsc                                |    2 +
 ArmPkg/Drivers/ArmPsciMpServicesDxe/ArmPsciMpServicesDxe.inf |   56 +
 MdeModulePkg/Application/MpServicesTest/MpServicesTest.inf   |   40 +
 ArmPkg/Drivers/ArmPsciMpServicesDxe/MpServicesInternal.h     |  344 ++++
 ArmPkg/Include/Library/ArmLib.h                              |   16 +-
 MdeModulePkg/Application/MpServicesTest/Options.h            |   39 +
 ArmPkg/Drivers/ArmPsciMpServicesDxe/ArmPsciMpServicesDxe.c   | 1847 ++++++++++++++++++++
 MdeModulePkg/Application/MpServicesTest/MpServicesTest.c     |  560 ++++++
 MdeModulePkg/Application/MpServicesTest/Options.c            |  164 ++
 ArmPkg/Drivers/ArmPsciMpServicesDxe/MpFuncs.S                |   57 +
 11 files changed, 3119 insertions(+), 7 deletions(-)
 create mode 100644 ArmPkg/Drivers/ArmPsciMpServicesDxe/ArmPsciMpServicesDxe.inf
 create mode 100644 MdeModulePkg/Application/MpServicesTest/MpServicesTest.inf
 create mode 100644 ArmPkg/Drivers/ArmPsciMpServicesDxe/MpServicesInternal.h
 create mode 100644 MdeModulePkg/Application/MpServicesTest/Options.h
 create mode 100644 ArmPkg/Drivers/ArmPsciMpServicesDxe/ArmPsciMpServicesDxe.c
 create mode 100644 MdeModulePkg/Application/MpServicesTest/MpServicesTest.c
 create mode 100644 MdeModulePkg/Application/MpServicesTest/Options.c
 create mode 100644 ArmPkg/Drivers/ArmPsciMpServicesDxe/MpFuncs.S

-- 
2.30.2


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-01-04 15:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-04 15:30 [PATCH v3 0/3] ArmPkg,MdeModulePkg: Implement EFI_MP_SERVICES_PROTOCOL for AArch64 and add MpServicesTest application Rebecca Cran
2023-01-04 15:30 ` [PATCH v3 1/3] ArmPkg: Add GET_MPIDR_AFFINITY_BITS and MPIDR_MT_BIT to ArmLib.h Rebecca Cran
2023-01-04 15:30 ` [PATCH v3 2/3] ArmPkg: implement EFI_MP_SERVICES_PROTOCOL based on PSCI calls Rebecca Cran
2023-01-04 15:30 ` [PATCH v3 3/3] MdeModulePkg: Add new Application/MpServicesTest application Rebecca Cran

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox