diff options
author | Will Deacon <will@kernel.org> | 2019-11-04 20:33:59 +0100 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2019-11-04 20:33:59 +0100 |
commit | db22a9de7a785fd3e0e066b02c269d6bdf453aec (patch) | |
tree | 9cdb0f3b94ecc882365eba42fbbfa4a6ddb1fd55 /drivers/iommu/arm-smmu.c | |
parent | iommu: arm-smmu-impl: Add sdm845 implementation hook (diff) | |
parent | iommu/io-pgtable-arm: Support all Mali configurations (diff) | |
download | linux-db22a9de7a785fd3e0e066b02c269d6bdf453aec.tar.xz linux-db22a9de7a785fd3e0e066b02c269d6bdf453aec.zip |
Merge branch 'for-joerg/arm-smmu/fixes' into for-joerg/arm-smmu/updates
Merge in ARM SMMU fixes to avoid conflicts in the ARM io-pgtable code.
* for-joerg/arm-smmu/fixes:
iommu/io-pgtable-arm: Support all Mali configurations
iommu/io-pgtable-arm: Correct Mali attributes
iommu/arm-smmu: Free context bitmap in the err path of arm_smmu_init_domain_context
Diffstat (limited to 'drivers/iommu/arm-smmu.c')
-rw-r--r-- | drivers/iommu/arm-smmu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iommu/arm-smmu.c b/drivers/iommu/arm-smmu.c index a2b1ca55b73e..a180665ea002 100644 --- a/drivers/iommu/arm-smmu.c +++ b/drivers/iommu/arm-smmu.c @@ -828,6 +828,7 @@ static int arm_smmu_init_domain_context(struct iommu_domain *domain, return 0; out_clear_smmu: + __arm_smmu_free_bitmap(smmu->context_map, cfg->cbndx); smmu_domain->smmu = NULL; out_unlock: mutex_unlock(&smmu_domain->init_mutex); |