Re: [edk2-devel] [PATCH 2/2] ArmPlatformPkg/PrePeiCore: enable VFP at startup

2020-01-14 Thread Leif Lindholm
On Tue, Jan 07, 2020 at 10:22:15 +0100, Ard Biesheuvel wrote: > While the alternative PEI-less SEC implementation in PrePi already > takes the EnableVFP PCD into account, the PrePeiCore code does not, > and so we may end up triggering synchronous exception when code > attempts to use FP or SIMD

[edk2-devel] [PATCH 2/2] ArmPlatformPkg/PrePeiCore: enable VFP at startup

2020-01-07 Thread Ard Biesheuvel
While the alternative PEI-less SEC implementation in PrePi already takes the EnableVFP PCD into account, the PrePeiCore code does not, and so we may end up triggering synchronous exception when code attempts to use FP or SIMD registers, which is permitted by the spec. So enable the VFP as early