psci: preserve target affinity level during suspend
authorAchin Gupta <achin.gupta@arm.com>
Thu, 5 Dec 2013 15:10:48 +0000 (15:10 +0000)
committerDan Handley <dan.handley@arm.com>
Mon, 20 Jan 2014 18:45:04 +0000 (18:45 +0000)
commita45e39738bcfb8ad49f581c92c747e159aa23892
tree9b52dcc3be7d54ab7ed72ec4c194d6fd7fc2f0c4
parenta59caa4cbd03c394e7a5bf098ddd9db457b35aae
psci: preserve target affinity level during suspend

This patch adds support to save and restore the target affinity level
specified during a cpu_suspend psci call. This ensures that we
traverse only through the affinity levels that we originally intended
to after resuming from suspend.

Change-Id: I0900ae49a50b496da137cfec8f158da0397ec56c
common/psci/psci_afflvl_suspend.c
common/psci/psci_common.c
common/psci/psci_entry.S
common/psci/psci_private.h