arm-trusted-firmware/plat/arm/common
Zelalem Aweke c872072972 feat(plat/fvp): add memory map for FVP platform for FEAT_RME
When FEAT_RME is enabled, memory is divided into four Physical
Address Spaces (PAS): Root, Realm, Secure and Non-secure.
This patch introduces new carveouts for the Trusted SRAM and DRAM
for the FVP platform accordingly.

The following new regions are introduced with this change:

ARM_MAP_L0_GPT_REGION: Trusted SRAM region used to store Level 0
Granule Protection Table (GPT). This region resides in the Root PAS.

ARM_MAP_GPT_L1_DRAM: DRAM region used to store Level 1 GPT. It
resides in the Root PAS.

ARM_MAP_RMM_DRAM: DRAM region used to store RMM image. It
resides in the Realm PAS.

The L0 GPT is stored on Trusted SRAM next to firmware configuration
memory. The DRAM carveout when RME is enable is modified as follow:

    		--------------------
    		|                  |
    		|  AP TZC (~28MB)  |
    		--------------------
    		|                  |
    		|  REALM (32MB)    |
    		--------------------
    		|                  |
    		|  EL3 TZC (3MB)   |
    		--------------------
    		| L1 GPT + SCP TZC |
    		|     (~1MB)       |
    0xFFFF_FFFF	--------------------

During initialization of the TrustZone controller, Root regions
are configured as Secure regions. Then they are later reconfigured
to Root upon GPT initialization.

Signed-off-by: Zelalem Aweke <zelalem.aweke@arm.com>
Change-Id: If2e257141d51f51f715b70d4a06f18af53607254
2021-10-05 11:56:00 -05:00
..
aarch32 Don't return error information from console_flush 2020-10-09 10:21:50 -05:00
aarch64 feat(plat/fvp): add RMM image support for FVP platform 2021-10-05 11:56:00 -05:00
fconf feat(plat/fvp): add RMM image support for FVP platform 2021-10-05 11:56:00 -05:00
sp_min feat(plat/arm): enable PIE when RESET_TO_SP_MIN=1 2021-06-29 11:59:01 +01:00
trp feat(rme): add Test Realm Payload (TRP) 2021-10-05 18:41:07 +02:00
tsp Merge "pl011: Use generic console_t data structure" into integration 2020-02-25 23:16:14 +00:00
arm_bl1_fwu.c fvp_r: load, auth, and transfer from BL1 to BL33 2021-09-30 17:07:11 +01:00
arm_bl1_setup.c refactor(plat/arm): modify memory region attributes to account for FEAT_RME 2021-10-05 11:56:00 -05:00
arm_bl2_el3_setup.c Switch AARCH32/AARCH64 to __aarch64__ 2019-08-01 13:45:03 -07:00
arm_bl2_setup.c feat(plat/fvp): add memory map for FVP platform for FEAT_RME 2021-10-05 11:56:00 -05:00
arm_bl2u_setup.c Switch AARCH32/AARCH64 to __aarch64__ 2019-08-01 13:45:03 -07:00
arm_bl31_setup.c feat(plat/fvp): add memory map for FVP platform for FEAT_RME 2021-10-05 11:56:00 -05:00
arm_cci.c plat/arm: Sanitise includes 2019-01-25 16:04:10 +00:00
arm_ccn.c plat/arm: Sanitise includes 2019-01-25 16:04:10 +00:00
arm_common.c fix(morello): initialise CNTFRQ in Non Secure CNTBaseN 2021-06-01 13:11:50 +01:00
arm_common.mk fvp_r: load, auth, and transfer from BL1 to BL33 2021-09-30 17:07:11 +01:00
arm_console.c Don't return error information from console_flush 2020-10-09 10:21:50 -05:00
arm_dyn_cfg.c plat/arm: move compile time switch from source to dt file 2021-04-26 14:00:13 +02:00
arm_dyn_cfg_helpers.c TF-A: Add support for Measured Boot driver 2020-07-21 20:33:07 +00:00
arm_err.c arm: Shorten the Firmware Update (FWU) process 2019-07-23 10:41:41 +01:00
arm_gicv2.c plat/arm: Sanitise includes 2019-01-25 16:04:10 +00:00
arm_gicv3.c arm: gicv3: Fix compiler dependent behavior 2019-12-10 15:53:44 -06:00
arm_image_load.c build(bl2): enable SP pkg loading for S-EL1 SPMC 2021-09-28 16:44:58 +02:00
arm_io_storage.c feat(plat/arm): add FWU support in Arm platforms 2021-08-02 17:15:40 +01:00
arm_nor_psci_mem_protect.c Coverity: remove unnecessary header file includes 2020-02-04 10:23:51 -06:00
arm_pm.c Coverity: remove unnecessary header file includes 2020-02-04 10:23:51 -06:00
arm_sip_svc.c Add SiP service to configure Arm Ethos-N NPU 2021-04-20 15:42:18 +02:00
arm_topology.c plat/arm: use Aff3 bits also to validate mpidr 2019-10-21 14:09:46 +01:00
arm_tzc400.c plat/arm/tzc: add support to configure multiple tzc400 2020-02-19 13:26:53 +05:30
arm_tzc_dmc500.c plat/arm: Sanitise includes 2019-01-25 16:04:10 +00:00