summaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2015-03-18 13:22:18 +0300
committerWill Deacon <will.deacon@arm.com>2015-03-27 16:39:36 +0300
commit63979b8da30013ce58d8447f34dde60802d1ccba (patch)
treefd89677dbeb65221c7840733e8d033a4a664d4ed /tools/perf/util/scripting-engines/trace-event-python.c
parent03edb2264cadddc38ca9030887c2902affbfca3f (diff)
downloadlinux-63979b8da30013ce58d8447f34dde60802d1ccba.tar.xz
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. Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions