ArmPkg/ArmPsciMpServices: Prevent SIMD traps on secondary cores

On AArch64, PrePi/SEC configures the primary core to avoid trapping
VFP/SIMD exceptions.However, when ArmPsciMpServicesDxe enables secondary
cores, FP/SIMD access is not configured, causing traps on SIMD
instructions.

Set FPEN bits 21:20[1] in CPACR_EL1 for secondary cores to allow FP/SIMD
instructions at EL1 and prevent VFP exceptions from being trapped.

Signed-off-by: Kedar Athawale <kedara@qti.qualcomm.com>
1 file changed