[PATCH 0/7] Tidy some minor things in the stream table/cd table area
Jason Gunthorpe
jgg at nvidia.com
Mon Jun 3 15:31:26 PDT 2024
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
--
2.45.2
More information about the linux-arm-kernel
mailing list