diff options
author | Jason Gunthorpe <jgg@nvidia.com> | 2024-09-06 12:47:50 -0300 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2024-09-09 15:47:14 +0100 |
commit | 85196f54743d97b0678e7889df72fdcc58ab2b02 (patch) | |
tree | bbf0d5e632c74c87bdf6f4960a97a9933178a0aa /tools/testing/selftests/bpf/prog_tests/sockmap_basic.c | |
parent | abb4f9d323a8d53870cc842d3c5024f71c2d4951 (diff) |
iommu/arm-smmu-v3: Reorganize struct arm_smmu_strtab_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 STRTAB_STE_DWORDS by changing the last places to use
sizeof(struct arm_smmu_ste).
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/3-v4-6416877274e1+1af-smmuv3_tidy_jgg@nvidia.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/sockmap_basic.c')
0 files changed, 0 insertions, 0 deletions