aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJason Gunthorpe <[email protected]>2024-09-06 12:47:51 -0300
committerWill Deacon <[email protected]>2024-09-09 15:47:14 +0100
commit8c153ef95697242b72646d2c4cf6c4b23ccf35a3 (patch)
tree2a7816c2246476fe9a7fd88d72f2335adf83aff3 /tools/perf/scripts/python
parent85196f54743d97b0678e7889df72fdcc58ab2b02 (diff)
iommu/arm-smmu-v3: Remove strtab_base/cfg
These values can be computed from the other values already stored in the config. Move the calculation to arm_smmu_write_strtab() and do it directly before writing the registers. This moves all the logic to calculate the two registers into one function from three and saves an unimportant 16 bytes from the arm_smmu_device. Suggested-by: Nicolin Chen <[email protected]> Reviewed-by: Nicolin Chen <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions