arm-trusted-firmware/bl31/aarch64
Achin Gupta b51da82182 Remove coherent stack usage from the warm boot path
This patch uses stacks allocated in normal memory to enable the MMU early in the
warm boot path thus removing the dependency on stacks allocated in coherent
memory. Necessary cache and stack maintenance is performed when a cpu is being
powered down and up. This avoids any coherency issues that can arise from
reading speculatively fetched stale stack memory from another CPUs cache. These
changes affect the warm boot path in both BL3-1 and BL3-2.

The EL3 system registers responsible for preserving the MMU state are not saved
and restored any longer. Static values are used to program these system
registers when a cpu is powered on or resumed from suspend.

Change-Id: I8357e2eb5eb6c5f448492c5094b82b8927603784
2014-07-19 23:31:53 +01:00
..
bl31_arch_setup.c Initialise CPU contexts from entry_point_info 2014-06-23 14:55:44 +01:00
bl31_entrypoint.S Remove coherent stack usage from the cold boot path 2014-07-19 23:31:50 +01:00
context.S Remove coherent stack usage from the warm boot path 2014-07-19 23:31:53 +01:00
cpu_data.S Per-cpu data cache restructuring 2014-06-16 21:30:32 +01:00
crash_reporting.S Per-cpu data cache restructuring 2014-06-16 21:30:32 +01:00
runtime_exceptions.S Remove coherent stack usage from the warm boot path 2014-07-19 23:31:53 +01:00