[PATCH v3 0/9] Tidy some minor things in the stream table/cd table area
Will Deacon
will at kernel.org
Fri Sep 6 07:35:17 PDT 2024
On Tue, 06 Aug 2024 20:31:14 -0300, Jason Gunthorpe wrote:
> 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. Based on a feedback from Mostafa and Nicolin a few more things
> were fixed up too
>
> - Use types for all the HW structures everywhere even for the L1
> descriptors that are just a single 8 bytes. This helps with clarity of
> what everthing is pointing at
> - Use indexing helpers for the STE/CD two level calculations
> - Use sizeof(struct X) instead of open coded math on constants. The sizeof
> naturally follows the type of the related variable in almost all cases
> - Remove redundant dma_addr_t's and save some memory
> - Remove redundant devm usage
> - Use the modern rbtree API
>
> [...]
Applied first change to will (for-joerg/arm-smmu/updates), thanks!
[1/9] iommu/arm-smmu-v3: Use the new rb tree helpers
https://git.kernel.org/will/c/a2bb820e862d
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
More information about the linux-arm-kernel
mailing list