]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: PSCI: Switch to per-CPU target PC storage in secure data section
authorChen-Yu Tsai <wens@csie.org>
Sun, 19 Jun 2016 04:38:44 +0000 (12:38 +0800)
committerHans de Goede <hdegoede@redhat.com>
Fri, 15 Jul 2016 13:54:58 +0000 (15:54 +0200)
commit6e6622de166f53597172687b7269b07cf48844df
tree8a89c350dff56f3ee34cc7fe721a7864179c8c86
parent45c334e6b22bae75ada8662b88000c4347b1361b
ARM: PSCI: Switch to per-CPU target PC storage in secure data section

Now that we have a secure data section and space to store per-CPU target
PC address, switch to it instead of storing the target PC on the stack.

Also save clobbered r4-r7 registers on the stack and restore them on
return in psci_cpu_on for Tegra, i.MX7, and LS102xA platforms.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
arch/arm/cpu/armv7/ls102xa/psci.S
arch/arm/cpu/armv7/mx7/psci.S
arch/arm/cpu/armv7/psci.S
arch/arm/cpu/armv7/sunxi/psci.c
arch/arm/mach-tegra/psci.S