arm-trusted-firmware/plat/arm/common
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 ARM Platforms: Load HW_CONFIG in BL2 2018-02-26 16:31:11 +00:00
aarch64 ARM Platforms: Load HW_CONFIG in BL2 2018-02-26 16:31:11 +00:00
sp_min ARM platforms: Demonstrate mem_protect from el3_runtime 2018-05-01 15:25:25 +01:00
tsp Fix order of ARM platform #includes 2017-07-14 10:50:40 +01:00
arm_bl1_fwu.c Fix MISRA rule 8.4 Part 4 2018-04-13 14:01:56 +01:00
arm_bl1_setup.c Juno: Change the Firmware update detect mechanism 2018-03-08 09:44:05 +00:00
arm_bl2_el3_setup.c bl2-el3: Add BL2 at EL3 support in FVP 2018-01-18 09:55:11 +00:00
arm_bl2_setup.c ARM platforms: Demonstrate mem_protect from el3_runtime 2018-05-01 15:25:25 +01:00
arm_bl2u_setup.c BL2U: Fix ARM platform timer initilization 2018-03-07 17:25:28 +00:00
arm_bl31_setup.c ARM platforms: Demonstrate mem_protect from el3_runtime 2018-05-01 15:25:25 +01:00
arm_cci.c Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
arm_ccn.c Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
arm_common.c Fix MISRA rule 8.4 Part 1 2018-02-28 17:19:55 +00:00
arm_common.mk Juno: Change the Firmware update detect mechanism 2018-03-08 09:44:05 +00:00
arm_dyn_cfg.c Dynamic cfg: MISRA fixes 2018-02-26 16:31:11 +00:00
arm_dyn_cfg_helpers.c Fix MISRA rule 8.4 Part 1 2018-04-13 14:01:56 +01:00
arm_err.c Juno: Change the Firmware update detect mechanism 2018-03-08 09:44:05 +00:00
arm_gicv2.c GICv2: Fix populating PE target data 2017-11-13 07:49:30 +00:00
arm_gicv3.c Fix MISRA rule 8.4 Part 1 2018-02-28 17:19:55 +00:00
arm_gicv3_legacy.c ARM platforms: enable GICv3 state save/restore 2017-10-11 16:57:00 +01:00
arm_image_load.c ARM Platforms: Load HW_CONFIG in BL2 2018-02-26 16:31:11 +00:00
arm_io_storage.c Fix MISRA rule 8.4 Part 1 2018-02-28 17:19:55 +00:00
arm_nor_psci_mem_protect.c ARM platforms: Demonstrate mem_protect from el3_runtime 2018-05-01 15:25:25 +01:00
arm_pm.c ARM platforms: Make arm_validate_ns_entrypoint() common 2017-11-13 08:38:51 +00:00
arm_sip_svc.c Merge pull request #927 from jeenu-arm/state-switch 2017-05-11 16:04:52 +01:00
arm_topology.c Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
arm_tzc400.c plat/arm: Allow override of default TZC regions 2018-04-10 14:30:03 +08:00
arm_tzc_dmc500.c plat/arm: Allow override of default TZC regions 2018-04-10 14:30:03 +08:00
execution_state_switch.c Rename 'smcc' to 'smccc' 2018-03-21 10:49:27 +00:00