diff options
author | Jason Gunthorpe <jgg@nvidia.com> | 2023-10-17 15:11:40 -0300 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2023-12-13 12:42:19 +0000 |
commit | ff0f802974136c7f4c576da227565dc27cc1c69d (patch) | |
tree | 212a82b2ef1e9b420166e84fbbbe97832e9927d5 /scripts/gdb/linux/stackdepot.py | |
parent | 9fde008337d3be8afa7b3b42c1787aac4b6853c9 (diff) | |
download | linux-ff0f802974136c7f4c576da227565dc27cc1c69d.tar.gz linux-ff0f802974136c7f4c576da227565dc27cc1c69d.tar.bz2 linux-ff0f802974136c7f4c576da227565dc27cc1c69d.zip |
iommu/arm-smmu: Reorganize arm_smmu_domain_add_master()
Make arm_smmu_domain_add_master() not use the smmu_domain to detect the
s2cr configuration, instead pass it in as a parameter. It always returns
zero so make it return void.
Since it no longer really does anything to do with a domain call it
arm_smmu_master_install_s2crs().
This is done to make the next two patches able to re-use this code without
forcing the creation of a struct arm_smmu_domain.
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/1-v2-c86cc8c2230e+160bb-smmu_newapi_jgg@nvidia.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/stackdepot.py')
0 files changed, 0 insertions, 0 deletions