]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
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:57 +0530)
committerVarun Wadekar <vwadekar@nvidia.com>
Fri, 30 May 2014 09:17:49 +0000 (02:17 -0700)
commita0553bb8f3fa7c76c2c0a6528d0c106ee22c7a59
treed7cf30d2086145dac2546753e2312a86bdce0105
parent7a4ce5e421bf952967d3d8dcd6cce0db0fe98341
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
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Nitin Sehgal <nsehgal@nvidia.com>
arch/arm/mach-tegra/headsmp.S