arm-trusted-firmware/lib
David Cunado 91089f360a Move FPEXC32_EL2 to FP Context
The FPEXC32_EL2 register controls SIMD and FP functionality when the
lower ELs are executing in AArch32 mode. It is architecturally mapped
to AArch32 system register FPEXC.

This patch removes FPEXC32_EL2 register from the System Register context
and adds it to the floating-point context. EL3 only saves / restores the
floating-point context if the build option CTX_INCLUDE_FPREGS is set to 1.

The rationale for this change is that if the Secure world is using FP
functionality and EL3 is not managing the FP context, then the Secure
world will save / restore the appropriate FP registers.

NOTE - this is a break in behaviour in the unlikely case that
CTX_INCLUDE_FPREGS is set to 0 and the platform contains an AArch32
Secure Payload that modifies FPEXC, but does not save and restore
this register

Change-Id: Iab80abcbfe302752d52b323b4abcc334b585c184
Signed-off-by: David Cunado <david.cunado@arm.com>
2017-11-15 22:42:05 +00:00
..
aarch32 Exit early if size zero for cache helpers 2017-06-21 17:46:28 +01:00
aarch64 Introduce functions to disable the MMU in EL1 2017-10-17 12:02:37 +01:00
compiler-rt Import ctzdi2.c from LLVM compiler-rt 2017-07-26 09:28:23 +01:00
cpus Cortex-A72: Implement workaround for erratum 859971 2017-09-07 14:22:02 +01:00
el3_runtime Move FPEXC32_EL2 to FP Context 2017-11-15 22:42:05 +00:00
libfdt Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
locks Add macro to test for minimum architecture version 2017-08-24 17:23:43 +01:00
optee Add Trusted OS extra image parsing support for ARM standard platforms 2017-08-09 18:06:05 +08:00
pmf Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
psci Fix PSCI STAT time stamp collection 2017-11-03 13:27:34 +00:00
semihosting Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
stack_protector Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
stdlib Use standard UNIX file:line format in assert 2017-07-19 05:57:40 +01:00
utils Add mem_region utility functions 2017-09-25 13:32:20 +01:00
xlat_tables Set TCR_EL1.EPD1 bit to 1 2017-09-21 11:57:11 +01:00
xlat_tables_v2 xlat: Make function to calculate TCR PA bits public 2017-11-08 18:05:14 +00:00