diff options
author | Will Deacon <[email protected]> | 2019-08-20 15:12:12 +0100 |
---|---|---|
committer | Will Deacon <[email protected]> | 2019-08-21 17:58:54 +0100 |
commit | 353e3cf8590cf182a9f42e67993de3aca91e8090 (patch) | |
tree | 8b623153a9c66e9ad540d13f8dc9831e0626f1ad /tools/perf/scripts/python | |
parent | bfff88ec1afefb76669d29da9fc90d5ad7c53ec3 (diff) |
iommu/arm-smmu-v3: Fix ATC invalidation ordering wrt main TLBs
When invalidating the ATC for an PCIe endpoint using ATS, we must take
care to complete invalidation of the main SMMU TLBs beforehand, otherwise
the device could immediately repopulate its ATC with stale translations.
Hooking the ATC invalidation into ->unmap() as we currently do does the
exact opposite: it ensures that the ATC is invalidated *before* the
main TLBs, which is bogus.
Move ATC invalidation into the actual (leaf) invalidation routines so
that it is always called after completing main TLB invalidation.
Reviewed-by: Robin Murphy <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions