diff options
| author | Linux Build Service Account <lnxbuild@localhost> | 2016-10-26 01:10:29 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-10-26 01:10:29 -0700 |
| commit | ade6f4501df841df4876872f5cba8af3b030a030 (patch) | |
| tree | 466cc422c11242ce8068988538c9194e36228b1d | |
| parent | 8a6107696c6ad63fb7387c4b9694cb3ba7e6eecd (diff) | |
| parent | 2fc4031194a77dc46f21640b89b6539681a55d8c (diff) | |
Merge "iommu/arm-smmu: on domain destroy invlidate domain cfg"
| -rw-r--r-- | drivers/iommu/arm-smmu.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/iommu/arm-smmu.c b/drivers/iommu/arm-smmu.c index 702706ae60f7..fda10abae58a 100644 --- a/drivers/iommu/arm-smmu.c +++ b/drivers/iommu/arm-smmu.c @@ -1870,6 +1870,10 @@ free_irqs: arm_smmu_free_context_idx(smmu, cfg->cbndx); smmu_domain->smmu = NULL; + cfg->cbndx = INVALID_CBNDX; + cfg->irptndx = INVALID_IRPTNDX; + cfg->asid = INVALID_ASID; + cfg->vmid = INVALID_VMID; } static struct iommu_domain *arm_smmu_domain_alloc(unsigned type) |
