arm-trusted-firmware/plat/rpi
Andre Przywara 2b19e2f361 rpi4: Reserve resident BL31 region from non-secure world
The GPU firmware loads the armstub8.bin (BL31) image at address 0, the
beginning of DRAM. As this holds the resident PSCI code and the SMP
pens, the non-secure world should better know about this, to avoid
accessing memory owned by TF-A. This is particularly criticial as the
Raspberry Pi 4 does not feature a secure memory controller, so
overwriting code is a very real danger.

Use the newly introduced function to add a node into reserved-memory
node, where non-secure world can check for regions to be excluded from
its mappings.

Reserve the first 512KB of memory for now. We can refine this later if
need be.

Change-Id: I00e55e70c5c02615320d79ff35bc32b805d30770
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
2019-09-25 11:45:35 +01:00
..
common rpi4: Determine BL33 entry point at runtime 2019-09-25 11:45:35 +01:00
rpi3 rpi4: Determine BL33 entry point at runtime 2019-09-25 11:45:35 +01:00
rpi4 rpi4: Reserve resident BL31 region from non-secure world 2019-09-25 11:45:35 +01:00