On Wed, 6 Mar 2019 at 06:44, Ni, Ray <ray...@intel.com> wrote: > > Ard, Leif, > I am a bit interested in how ARM platform supports the MP? > PI Spec defines below protocol but I failed to find a driver in ARM platform > producing this protocol. > Or did I miss anything? >
No you are right. We don't expose that on ARM, since UEFI only runs on a single core. Bringing up and taking down cores is done via a protocol called PSCI, which is implemented by firmware running at a higher privilege level. So while it would be possible to implement the MP protocol on top of PSCI, we haven't identified a use case for it yet. (The OS calls PSCI directly to boot the secondary cores) > typedef struct _EFI_MP_SERVICES_PROTOCOL { > EFI_MP_SERVICES_GET_NUMBER_OF_PROCESSORS GetNumberOfProcessors; > EFI_MP_SERVICES_GET_PROCESSOR_INFO GetProcessorInfo; > EFI_MP_SERVICES_STARTUP_ALL_APS StartupAllAPs; > EFI_MP_SERVICES_STARTUP_THIS_AP StartupThisAP; > EFI_MP_SERVICES_SWITCH_BSP SwitchBSP; > EFI_MP_SERVICES_ENABLEDISABLEAP EnableDisableAP; > EFI_MP_SERVICES_WHOAMI WhoAmI; > } EFI_MP_SERVICES_PROTOCOL; > > Thanks, > Ray _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel