diff options
author | Jason Gunthorpe <jgg@nvidia.com> | 2024-03-27 15:07:51 -0300 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2024-04-09 12:38:32 +0100 |
commit | e8e4398d53f98be7ac48e0bda9ea6e26df24136d (patch) | |
tree | 4841961fc2ecff780f105553516edb76e59c6ab1 /drivers/iommu/arm/arm-smmu/arm-smmu.c | |
parent | 86e5ca098dd9f8c5b80a6205395aea0535018837 (diff) | |
download | linux-stable-e8e4398d53f98be7ac48e0bda9ea6e26df24136d.tar.gz linux-stable-e8e4398d53f98be7ac48e0bda9ea6e26df24136d.tar.bz2 linux-stable-e8e4398d53f98be7ac48e0bda9ea6e26df24136d.zip |
iommu/arm-smmu-v3: Add a type for the CD entry
Instead of passing a naked __le16 * around to represent a CD table entry
wrap it in a "struct arm_smmu_cd" with an array of the correct size. This
makes it much clearer which functions will comprise the "CD API".
Tested-by: Nicolin Chen <nicolinc@nvidia.com>
Tested-by: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com>
Reviewed-by: Michael Shavit <mshavit@google.com>
Reviewed-by: Moritz Fischer <moritzf@google.com>
Reviewed-by: Nicolin Chen <nicolinc@nvidia.com>
Reviewed-by: Mostafa Saleh <smostafa@google.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/5-v6-228e7adf25eb+4155-smmuv3_newapi_p2_jgg@nvidia.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'drivers/iommu/arm/arm-smmu/arm-smmu.c')
0 files changed, 0 insertions, 0 deletions