aboutsummaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@nvidia.com>2024-09-06 12:47:54 -0300
committerWill Deacon <will@kernel.org>2024-09-09 15:47:15 +0100
commit7c567eb1e1d2a835140091ff8d4b73ac5454ba7b (patch)
tree85a1afa0fdff3cf22fb1bf085f17d436b1bd7a26 /mm
parentc0a25a96dee9c3af01fbcad227871fc0f222900b (diff)
iommu/arm-smmu-v3: Add types for each level of the CD table
As well as indexing helpers arm_smmu_cdtab_l1/2_idx(). Remove CTXDESC_L1_DESC_DWORDS and CTXDESC_CD_DWORDS replacing them all with type specific calculations. Tested-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/7-v4-6416877274e1+1af-smmuv3_tidy_jgg@nvidia.com Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions