aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorNicolin Chen <[email protected]>2020-09-17 04:31:54 -0700
committerJoerg Roedel <[email protected]>2020-09-18 11:07:06 +0200
commitd5c152c3409ac1982a9277d8d344e073eda17e78 (patch)
tree2d5daacfcb5e7679880e4dc05bba21260fecc3a7 /tools/perf/scripts/python/event_analyzing_sample.py
parent404d0b308e4f730b1c9b2f33e84a6f7069db94c5 (diff)
iommu/tegra-smmu: Fix tlb_mask
The "num_tlb_lines" might not be a power-of-2 value, being 48 on Tegra210 for example. So the current way of calculating tlb_mask using the num_tlb_lines is not correct: tlb_mask=0x5f in case of num_tlb_lines=48, which will trim a setting of 0x30 (48) to 0x10. Signed-off-by: Nicolin Chen <[email protected]> Acked-by: Thierry Reding <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions