path: root/bl31/bl31.mk
diff options
authorAchin Gupta <achin.gupta@arm.com>2014-06-26 09:58:52 +0100
committerAchin Gupta <achin.gupta@arm.com>2014-07-19 23:31:53 +0100
commitb51da821821cfda0d44f09a6f92fdc5933f9b23b (patch)
tree01d72a57badfa7cc19c5530d64f4c308b6d37799 /bl31/bl31.mk
parentafff8cbdd816ca9b0d71ab54882ce70b21ed84e1 (diff)
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
Diffstat (limited to 'bl31/bl31.mk')
1 files changed, 1 insertions, 0 deletions
diff --git a/bl31/bl31.mk b/bl31/bl31.mk
index 5555c319c3..fb17a2e600 100644
--- a/bl31/bl31.mk
+++ b/bl31/bl31.mk
@@ -48,6 +48,7 @@ BL31_SOURCES += bl31/bl31_main.c \
services/std_svc/psci/psci_afflvl_suspend.c \
services/std_svc/psci/psci_common.c \
services/std_svc/psci/psci_entry.S \
+ services/std_svc/psci/psci_helpers.S \
services/std_svc/psci/psci_main.c \