summaryrefslogtreecommitdiffstats
path: root/drivers/memory/jz4780-nemc.c
diff options
context:
space:
mode:
authorRobin Murphy <robin.murphy@arm.com>2015-12-07 18:18:52 +0000
committerWill Deacon <will.deacon@arm.com>2015-12-17 12:05:35 +0000
commit75df1386557c25188bd2383bbe8dd14a5ac81c06 (patch)
tree95850b0e6af3a2e4c5e15333922aba99f254542e /drivers/memory/jz4780-nemc.c
parent06c610e8f32ba2fe41d57e1718611c2ec5024878 (diff)
downloadtalos-obmc-linux-75df1386557c25188bd2383bbe8dd14a5ac81c06.tar.gz
talos-obmc-linux-75df1386557c25188bd2383bbe8dd14a5ac81c06.zip
iommu/arm-smmu: Invalidate TLBs properly
When invalidating an IOVA range potentially spanning multiple pages, such as when removing an entire intermediate-level table, we currently only issue an invalidation for the first IOVA of that range. Since the architecture specifies that address-based TLB maintenance operations target a single entry, an SMMU could feasibly retain live entries for subsequent pages within that unmapped range, which is not good. Make sure we hit every possible entry by iterating over the whole range at the granularity provided by the pagetable implementation. Signed-off-by: Robin Murphy <robin.murphy@arm.com> [will: added missing semicolons...] Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'drivers/memory/jz4780-nemc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud