[FOSS_TLK]platform: tegra: add XN bits to identity mappings
authorChris Johnson <cwj@nvidia.com>
Tue, 3 Feb 2015 03:05:27 +0000 (19:05 -0800)
committerDennis Huang <denhuang@nvidia.com>
Tue, 16 Jun 2015 20:59:47 +0000 (13:59 -0700)
commit60fc008ec2f7f785f60d0fb81e0fbefb0913c8f3
tree83583f6a3e98371fefc412c83b9bd12a6214aa91
parentf12e13f58ed26f0a6bacd5961ba9ca1385e0fd21
[FOSS_TLK]platform: tegra: add XN bits to identity mappings

The identity mappings need to be careful to avoid speculative
instruction fetch, which can trigger MC errors in carved out
regions and in certain regions mapped to AHB accesses.

Adding XN bits to these Device-nGnRnE mappings prevent these
speculative reads.

Bug 200039988

Change-Id: I9869bb7cffba05a6b155eeeb7548c43cf690c4a6
Reviewed-on: http://git-master/r/715784
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
Tested-by: Varun Wadekar <vwadekar@nvidia.com>
arch/arm/arm/start.S
arch/arm/include/arch/arm/mmu_ldesc_macros.h