ARM: tegra: Add firmware calls required for suspend-resume on Tegra30
authorDmitry Osipenko <digetx@gmail.com>
Sun, 17 Mar 2019 22:52:10 +0000 (01:52 +0300)
committerThierry Reding <treding@nvidia.com>
Tue, 9 Apr 2019 14:36:29 +0000 (16:36 +0200)
commit78ee399f1632a00a92dcdb0ebba8cfe0081a3e5d
tree1b76327a4ae5bb14eaec51454446b3ed9ab2d357
parentdae84be59d667089a7ad3d27a0662e6b71f13116
ARM: tegra: Add firmware calls required for suspend-resume on Tegra30

In order to suspend-resume CPU with Trusted Foundations firmware being
present on Tegra30, the LP1/LP2 boot vectors and CPU caches need to be
set up using the firmware calls and then suspend code shall avoid
re-disabling parts that were disabled by the firmware.

Tested-by: Robert Yang <decatf@gmail.com>
Tested-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm/mach-tegra/pm.c
arch/arm/mach-tegra/reset-handler.S
arch/arm/mach-tegra/sleep.S