aboutsummaryrefslogtreecommitdiff
path: root/rust/compiler_builtins.rs
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@nvidia.com>2024-09-06 12:47:51 -0300
committerWill Deacon <will@kernel.org>2024-09-09 15:47:14 +0100
commit8c153ef95697242b72646d2c4cf6c4b23ccf35a3 (patch)
tree2a7816c2246476fe9a7fd88d72f2335adf83aff3 /rust/compiler_builtins.rs
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 <nicolinc@nvidia.com> Reviewed-by: Nicolin Chen <nicolinc@nvidia.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com> Link: https://lore.kernel.org/r/4-v4-6416877274e1+1af-smmuv3_tidy_jgg@nvidia.com Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'rust/compiler_builtins.rs')
0 files changed, 0 insertions, 0 deletions