summaryrefslogtreecommitdiff
path: root/ArmPkg/Drivers/ArmPsciMpServicesDxe/ArmPsciMpServicesDxe.c
AgeCommit message (Collapse)AuthorFilesLines
2023-10-18ArmPkg/ArmPsciMpServices: Add EFI_NOT_READY returnJeff Brasen via groups.io1-1/+3
Add EFI_NOT_READY return if the CPU can not be enabled because the processor is already on. This can occur in normal use if the CPU is still being turned off from a previous call when this is called again. Signed-off-by: Jeff Brasen <jbrasen@nvidia.com> Reviewed-by: Rebecca Cran <rebecca@bsdio.com>
2023-01-27ArmPkg: implement EFI_MP_SERVICES_PROTOCOL based on PSCI callsRebecca Cran1-0/+1859
Add support for EFI_MP_SERVICES_PROTOCOL during the DXE phase under AArch64. PSCI_CPU_ON is called to power on the core, the supplied procedure is executed and PSCI_CPU_OFF is called to power off the core. Fixes contributed by Ard Biesheuvel. Signed-off-by: Rebecca Cran <rebecca@quicinc.com> Reviewed-by: Ard Biesheuvel <ardb@kernel.org> Tested-by: Kun Qin <kun.qin@microsoft.com>