Skip to content

Commit 86bf858

Browse files
nicolincwilldeacon
authored andcommitted
iommu/arm-smmu-v3: Fix typos introduced by arm_smmu_invs
These are introduced by separate commits, so not submitting with a "Fixes" line, since they aren't critical. Signed-off-by: Nicolin Chen <nicolinc@nvidia.com> Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> Signed-off-by: Will Deacon <will@kernel.org>
1 parent 6a01b9f commit 86bf858

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1128,7 +1128,7 @@ static inline int arm_smmu_invs_iter_next_cmp(struct arm_smmu_invs *invs_l,
11281128
* Both @invs and @to_merge must be sorted, to ensure the returned array will be
11291129
* sorted as well.
11301130
*
1131-
* Caller is resposible for freeing the @invs and the returned new one.
1131+
* Caller is responsible for freeing the @invs and the returned new one.
11321132
*
11331133
* Entries marked as trash will be purged in the returned array.
11341134
*/
@@ -1258,7 +1258,7 @@ EXPORT_SYMBOL_IF_KUNIT(arm_smmu_invs_unref);
12581258
* This function must be locked and serialized with arm_smmu_invs_merge() and
12591259
* arm_smmu_invs_unref(), but do not lockdep on any lock for KUNIT test.
12601260
*
1261-
* Caller is resposible for freeing the @invs and the returned new one.
1261+
* Caller is responsible for freeing the @invs and the returned new one.
12621262
*/
12631263
VISIBLE_IF_KUNIT
12641264
struct arm_smmu_invs *arm_smmu_invs_purge(struct arm_smmu_invs *invs)
@@ -2739,7 +2739,7 @@ void arm_smmu_domain_inv_range(struct arm_smmu_domain *smmu_domain,
27392739
* But in a race, these two can be interdependent, making it a special
27402740
* case requiring an additional smp_mb() for the write->read ordering.
27412741
* Pairing with the dma_wmb() in arm_smmu_install_ste_for_dev(), this
2742-
* makes sure that IOPTE update prior to this point is visable to SMMU
2742+
* makes sure that IOPTE update prior to this point is visible to SMMU
27432743
* hardware before we load the updated invalidation array.
27442744
*
27452745
* [CPU0] | [CPU1]

drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,7 @@ static inline bool arm_smmu_inv_is_ats(const struct arm_smmu_inv *inv)
687687
* greater than @max_invs
688688
* @num_trashes: number of trash entries in the array for arm_smmu_invs_purge().
689689
* Must not be greater than @num_invs
690-
* @rwlock: optional rwlock to fench ATS operations
690+
* @rwlock: optional rwlock to fence ATS operations
691691
* @has_ats: flag if the array contains an INV_TYPE_ATS or INV_TYPE_ATS_FULL
692692
* @rcu: rcu head for kfree_rcu()
693693
* @inv: flexible invalidation array

0 commit comments

Comments
 (0)