]> git.proxmox.com Git - mirror_edk2.git/commit
ArmPkg: implement EFI_MP_SERVICES_PROTOCOL based on PSCI calls
authorRebecca Cran <quic_rcran@quicinc.com>
Tue, 17 Jan 2023 04:57:31 +0000 (21:57 -0700)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 27 Jan 2023 14:18:56 +0000 (14:18 +0000)
commite7aac7fc137e247edad22f7ee53b9a1fba227397
treedf00b970e6363d17f13d04dab6c7a397cf48821c
parentd1855afc6e0ef37eeaef1c8c10aff55b1c9995b9
ArmPkg: implement EFI_MP_SERVICES_PROTOCOL based on PSCI calls

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>
ArmPkg/ArmPkg.dsc
ArmPkg/Drivers/ArmPsciMpServicesDxe/ArmPsciMpServicesDxe.c [new file with mode: 0644]
ArmPkg/Drivers/ArmPsciMpServicesDxe/ArmPsciMpServicesDxe.inf [new file with mode: 0644]
ArmPkg/Drivers/ArmPsciMpServicesDxe/MpFuncs.S [new file with mode: 0644]
ArmPkg/Drivers/ArmPsciMpServicesDxe/MpServicesInternal.h [new file with mode: 0644]