diff options
author | Will Deacon <will.deacon@arm.com> | 2014-02-26 06:14:37 -0500 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2014-02-27 14:08:43 -0500 |
commit | 34fb4b37b7b6da7dc34797d1abf234dd30b091d8 (patch) | |
tree | f020f4b2e6015ca317ea6ff5c88a4ecf225e4e12 | |
parent | 3aa80ea4c90d46ffbe200d05b9ceb997001b36df (diff) |
iommu/arm-smmu: fix incorrect comment regarding TLB invalidation
Commit 1463fe44fd0f ("iommu/arm-smmu: Don't use VMIDs for stage-1
translations") moved our TLB invalidation from context creation time to
context destruction time, but forgot to update an associated comment.
This patch fixes the broken comment.
Signed-off-by: Will Deacon <will.deacon@arm.com>
-rw-r--r-- | drivers/iommu/arm-smmu.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/iommu/arm-smmu.c b/drivers/iommu/arm-smmu.c index 1da5b41afc31..8b89e33a89fe 100644 --- a/drivers/iommu/arm-smmu.c +++ b/drivers/iommu/arm-smmu.c | |||
@@ -1026,9 +1026,8 @@ static void arm_smmu_free_pgtables(struct arm_smmu_domain *smmu_domain) | |||
1026 | 1026 | ||
1027 | /* | 1027 | /* |
1028 | * Recursively free the page tables for this domain. We don't | 1028 | * Recursively free the page tables for this domain. We don't |
1029 | * care about speculative TLB filling, because the TLB will be | 1029 | * care about speculative TLB filling because the tables should |
1030 | * nuked next time this context bank is re-allocated and no devices | 1030 | * not be active in any context bank at this point (SCTLR.M is 0). |
1031 | * currently map to these tables. | ||
1032 | */ | 1031 | */ |
1033 | pgd = pgd_base; | 1032 | pgd = pgd_base; |
1034 | for (i = 0; i < PTRS_PER_PGD; ++i) { | 1033 | for (i = 0; i < PTRS_PER_PGD; ++i) { |