Eliminate psci_suspend_context array
psci_suspend_context is an array of cache-line aligned structures
containing the single power_state integer per cpu. This array is
the only structure indexed by the aff_map_node.data integer.

This patch saves 2KB of BL3-1 memory by placing the CPU
power_state value directly in the aff_map_node structure. As a
result, this value is now never cached and the cache clean when
writing the value is no longer required.

Fixes ARM-software/tf-issues#195

Change-Id: Ib4c70c8f79eed295ea541e7827977a588a19ef9b
1 parent 167a935 commit 13ac44a5c7336657ba7518ea31c66f7e7dd7eea8
@Andrew Thoelke Andrew Thoelke authored on 19 Jun 2014
Showing 4 changed files
View
services/std_svc/psci/psci_afflvl_suspend.c
View
services/std_svc/psci/psci_common.c
View
services/std_svc/psci/psci_private.h
View
services/std_svc/psci/psci_setup.c