arm-trusted-firmware/plat/arm/board/fvp
Roberto Vargas 638b034cc3 ARM platforms: Demonstrate mem_protect from el3_runtime
Previously mem_protect used to be only supported from BL2. This is not
helpful in the case when ARM TF-A BL2 is not used. This patch demonstrates
mem_protect from el3_runtime firmware on ARM Platforms specifically
when RESET_TO_BL31 or RESET_TO_SP_MIN flag is set as BL2 may be absent
in these cases. The Non secure DRAM is dynamically mapped into EL3 mmap
tables temporarily and then the protected regions are then cleared. This
avoids the need to map the non secure DRAM permanently to BL31/sp_min.

The stack size is also increased, because DYNAMIC_XLAT_TABLES require
a bigger stack.

Change-Id: Ia44c594192ed5c5adc596c0cff2c7cc18c001fde
Signed-off-by: Roberto Vargas <roberto.vargas@arm.com>
2018-05-01 15:25:25 +01:00
..
aarch32 FVP: Fix function for translating MPIDR to linear index 2018-04-06 18:07:12 +01:00
aarch64 FVP: change the method for translating MPIDR values to a linear indices 2018-03-17 14:51:58 +08:00
drivers/pwrc Merge pull request #1282 from robertovargas-arm/misra-changes 2018-02-28 18:53:30 +00:00
fdts FVP: Add TB_FW_CONFIG and HW_CONFIG 2018-02-26 16:31:11 +00:00
include ARM platforms: Demonstrate mem_protect from el3_runtime 2018-05-01 15:25:25 +01:00
sp_min Remove sp_min functions from plat_common.c 2018-03-02 16:41:18 +00:00
tsp TSP: Support multi-threading CPUs on FVP 2017-10-04 10:34:56 +01:00
fvp_bl1_setup.c Juno: Change the Firmware update detect mechanism 2018-03-08 09:44:05 +00:00
fvp_bl2_el3_setup.c bl2-el3: Add BL2 at EL3 support in FVP 2018-01-18 09:55:11 +00:00
fvp_bl2_setup.c Dynamic cfg: MISRA fixes 2018-02-26 16:31:11 +00:00
fvp_bl2u_setup.c Fix MISRA rule 8.4 Part 1 2018-02-28 17:19:55 +00:00
fvp_bl31_setup.c Dynamic cfg: MISRA fixes 2018-02-26 16:31:11 +00:00
fvp_common.c FVP AArch32: Fix flash access in BL32 for mem_protect 2018-03-15 11:45:37 +00:00
fvp_def.h FVP: Allow building for DynamIQ systems 2018-02-28 15:05:35 +00:00
fvp_io_storage.c ARM Platforms: Load HW_CONFIG in BL2 2018-02-26 16:31:11 +00:00
fvp_pm.c ARM platforms: Demonstrate mem_protect from el3_runtime 2018-05-01 15:25:25 +01:00
fvp_private.h Fix MISRA rule 8.4 Part 3 2018-04-13 14:01:56 +01:00
fvp_security.c plat/arm: Allow override of default TZC regions 2018-04-10 14:30:03 +08:00
fvp_stack_protector.c Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
fvp_topology.c Fix MISRA rule 8.4 Part 1 2018-02-28 17:19:55 +00:00
fvp_trusted_boot.c Fix MISRA rule 8.4 Part 1 2018-02-28 17:19:55 +00:00
platform.mk Juno: Change the Firmware update detect mechanism 2018-03-08 09:44:05 +00:00