diff options
author | Jason Gunthorpe <[email protected]> | 2024-09-06 12:47:54 -0300 |
---|---|---|
committer | Will Deacon <[email protected]> | 2024-09-09 15:47:15 +0100 |
commit | 7c567eb1e1d2a835140091ff8d4b73ac5454ba7b (patch) | |
tree | 85a1afa0fdff3cf22fb1bf085f17d436b1bd7a26 /include/linux/overflow.h | |
parent | c0a25a96dee9c3af01fbcad227871fc0f222900b (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 <[email protected]>
Reviewed-by: Nicolin Chen <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions