mbox series

[0/7] Tidy some minor things in the stream table/cd table area

Message ID 0-v1-1b720dce51d1+4f44-smmuv3_tidy_jgg@nvidia.com (mailing list archive)
Headers show
Series Tidy some minor things in the stream table/cd table area | expand

Message

Jason Gunthorpe June 3, 2024, 10:31 p.m. UTC
Will pointed out that two places referring to the CD/STE struct did not
get the new types. While auditing this code a few more oddities were
noticed.

- Correct types for the linear stream/cd table pointers struct
- Remove redundant dma_addr_t's and save some memory
- Remove redundant devm usage
- Use the modern rbtree API

Nothing is particularly profound here, I've been sitting on these for
awhile, enough is merged now that they can be cleanly based and are
seperate from my other series.

Jason Gunthorpe (7):
  iommu/arm-smmu-v3: Split struct arm_smmu_strtab_cfg.strtab
  iommu/arm-smmu-v3: Do not zero the strtab twice
  iommu/arm-smmu-v3: Shrink the strtab l1_desc array
  iommu/arm-smmu-v3: Split struct arm_smmu_ctx_desc_cfg.cdtab
  iommu/arm-smmu-v3: Do not use devm for the cd table allocations
  iommu/arm-smmu-v3: Shrink the cdtab l1_desc array
  iommu/arm-smmu-v3: Use the new rb tree helpers

 drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 234 +++++++++-----------
 drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h |  30 +--
 2 files changed, 119 insertions(+), 145 deletions(-)


base-commit: c3f38fa61af77b49866b006939479069cd451173