aboutsummaryrefslogtreecommitdiff
path: root/include/linux/overflow.h
diff options
context:
space:
mode:
authorJason Gunthorpe <[email protected]>2024-09-06 12:47:55 -0300
committerWill Deacon <[email protected]>2024-09-09 15:47:15 +0100
commite3b1be2e73dbe599f8b8886e120d206aa87e90f9 (patch)
tree4586b8602c124630b7d63fff8ff706c88b15fc31 /include/linux/overflow.h
parent7c567eb1e1d2a835140091ff8d4b73ac5454ba7b (diff)
iommu/arm-smmu-v3: Reorganize struct arm_smmu_ctx_desc_cfg
The members here are being used for both the linear and the 2 level case, with the meaning of each item slightly different in the two cases. Split it into a clean union where both cases have their own struct with their own logical names and correct types. Adjust all the users to detect linear/2lvl and use the right sub structure and types consistently. Remove CTXDESC_CD_DWORDS by changing the last places to use sizeof(struct arm_smmu_cd). 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