patches.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/7] Tidy some minor things in the stream table/cd table area
@ 2024-06-03 22:31 Jason Gunthorpe
  2024-06-03 22:31 ` [PATCH 1/7] iommu/arm-smmu-v3: Split struct arm_smmu_strtab_cfg.strtab Jason Gunthorpe
                   ` (7 more replies)
  0 siblings, 8 replies; 23+ messages in thread
From: Jason Gunthorpe @ 2024-06-03 22:31 UTC (permalink / raw)
  To: iommu, Joerg Roedel, linux-arm-kernel, Robin Murphy, Will Deacon
  Cc: Michael Shavit, Nicolin Chen, patches, Ryan Roberts,
	Mostafa Saleh

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


^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2024-06-06 23:59 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-03 22:31 [PATCH 0/7] Tidy some minor things in the stream table/cd table area Jason Gunthorpe
2024-06-03 22:31 ` [PATCH 1/7] iommu/arm-smmu-v3: Split struct arm_smmu_strtab_cfg.strtab Jason Gunthorpe
2024-06-04  8:32   ` Nicolin Chen
2024-06-04 12:59     ` Jason Gunthorpe
2024-06-04 18:28       ` Nicolin Chen
2024-06-04 19:02         ` Jason Gunthorpe
2024-06-04 19:28           ` Nicolin Chen
2024-06-04 15:52   ` Mostafa Saleh
2024-06-05 23:51     ` Jason Gunthorpe
2024-06-03 22:31 ` [PATCH 2/7] iommu/arm-smmu-v3: Do not zero the strtab twice Jason Gunthorpe
2024-06-04 15:56   ` Mostafa Saleh
2024-06-05 21:22     ` Jason Gunthorpe
2024-06-03 22:31 ` [PATCH 3/7] iommu/arm-smmu-v3: Shrink the strtab l1_desc array Jason Gunthorpe
2024-06-04 16:01   ` Mostafa Saleh
2024-06-03 22:31 ` [PATCH 4/7] iommu/arm-smmu-v3: Split struct arm_smmu_ctx_desc_cfg.cdtab Jason Gunthorpe
2024-06-04 16:07   ` Mostafa Saleh
2024-06-06 23:59     ` Jason Gunthorpe
2024-06-03 22:31 ` [PATCH 5/7] iommu/arm-smmu-v3: Do not use devm for the cd table allocations Jason Gunthorpe
2024-06-03 22:31 ` [PATCH 6/7] iommu/arm-smmu-v3: Shrink the cdtab l1_desc array Jason Gunthorpe
2024-06-04 16:14   ` Mostafa Saleh
2024-06-03 22:31 ` [PATCH 7/7] iommu/arm-smmu-v3: Use the new rb tree helpers Jason Gunthorpe
2024-06-04 16:22   ` Mostafa Saleh
2024-06-03 22:41 ` [PATCH 0/7] Tidy some minor things in the stream table/cd table area Nicolin Chen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).