arm: tegra: headsmp: fix tegra_with_secure_firmware access with MMU off
authorVarun Wadekar <vwadekar@nvidia.com>
Wed, 21 May 2014 07:27:04 +0000 (12:27 +0530)
committerMatthew Pedro <mapedro@nvidia.com>
Thu, 23 Jul 2015 15:14:37 +0000 (08:14 -0700)
commit8770f6279885cd7c769a09e32ce051c5e61311ad
tree5c0d3c79c990eaaf6f1ae06d92451016408006df
parent350e11af044e460b6ec6afa649214d040ccf37ae
arm: tegra: headsmp: fix tegra_with_secure_firmware access with MMU off

There are places during the CPU resume path where we access this variable
with MMU off. In such scenarios we should use the physical address for this
variable.

This fixes the virtualisation team's issue, since they were the ones who
reported it in the first place. Fix a case where the code running from
iRAM was accessing the variable from DRAM instead of the one cached in
iRAM.

Bug 1411345

Change-Id: I9005c30329d38bae305a4a7b31ae7e2ca83e8a5d
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/412540
(cherry picked from commit a0553bb8f3fa7c76c2c0a6528d0c106ee22c7a59)
Reviewed-on: http://git-master/r/771679
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Tested-by: Bibek Basu <bbasu@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
arch/arm/mach-tegra/headsmp.S