Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: 7929524a7b31c250a770626d67af6e609b5a1f92
https://github.com/tianocore/edk2/commit/7929524a7b31c250a770626d67af6e609b5a1f92
Author: Vishal Oliyil Kunnil <[email protected]>
Date: 2026-09-24 (Thu, 24 Sep 2026)
Changed paths:
M ArmPkg/Drivers/ArmPsciMpServicesDxe/ArmPsciMpServicesDxe.c
M ArmPkg/Drivers/ArmPsciMpServicesDxe/MpFuncs.S
Log Message:
-----------
ArmPkg/ArmPsciMpServices: Initialize HCR_EL2 on secondary CPU
Initialize HCR_EL2 on each AP before MMU and cache setup so secondary
CPUs inherit the BSP's virtualization and execution-control state. AP
HCR_EL2 state is not guaranteed to match the BSP when PSCI releases a CPU.
Read and cache HCR_EL2 only when the BSP runs at EL2, then restore the
cached value on AP entry.
Without this initialization, QEMU runs showed APs failing during early
startup, becoming stuck at exception vector 0x200, and causing
StartupAllAPs to time out.
Signed-off-by: Vishal Oliyil Kunnil <[email protected]>
To unsubscribe from these emails, change your notification settings at
https://github.com/tianocore/edk2/settings/notifications
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits