summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2015-03-18 10:22:18 +0000
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 11:14:52 -0700
commit02041d42382b3bfaaf695823c710e2f8766c0fdc (patch)
treed4b99ac455e0c0a8ea5105e07366b1fcb98235d0 /include/linux
parent81eb6eff75e8c17b6c5961877f00d8b8a342eb47 (diff)
iommu/io-pgtable-arm: avoid speculative walks through TTBR1
Although we set TCR.T1SZ to 0, the input address range covered by TTBR1 is actually calculated using T0SZ in this case on the ARM SMMU. This could theoretically lead to speculative table walks through physical address zero, leading to all sorts of fun and games if we have MMIO regions down there. This patch avoids the issue by setting EPD1 to disable walks through the unused TTBR1 register. Change-Id: I766a0e19714b7f4e6659331ae0772efc28b95224 Signed-off-by: Will Deacon <will.deacon@arm.com> [pdaly@codeaurora.org Use upstream version]
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions