diff options
author | Yong Wu <[email protected]> | 2021-01-11 19:19:02 +0800 |
---|---|---|
committer | Will Deacon <[email protected]> | 2021-02-01 11:31:18 +0000 |
commit | bfed873114c5fbb8982113abbab17cde7788dcba (patch) | |
tree | 72522429d270c1f2f7a4395919dc353458a5ba69 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | c0b57581b73be7b43f39e0dff201c93413f6a668 (diff) |
iommu/mediatek: Support up to 34bit iova in tlb flush
If the iova is 34bit, the iova[32][33] is the bit0/1 in the tlb flush
register. Add a new macro for this.
In the macro, since (iova + size - 1) may be end with 0xfff, then the
bit0/1 always is 1, thus add a mask.
Signed-off-by: Yong Wu <[email protected]>
Reviewed-by: Tomasz Figa <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions