Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aa646d7a authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "iommu: arm-smmu: Reinitialize context bank structure for secure domains"

parents 995ff50c da211a0e
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -5231,6 +5231,8 @@ static int __maybe_unused arm_smmu_pm_restore_early(struct device *dev)
		arm_smmu_secure_domain_lock(smmu_domain);
		arm_smmu_secure_domain_lock(smmu_domain);
		arm_smmu_assign_table(smmu_domain);
		arm_smmu_assign_table(smmu_domain);
		arm_smmu_secure_domain_unlock(smmu_domain);
		arm_smmu_secure_domain_unlock(smmu_domain);
		arm_smmu_init_context_bank(smmu_domain,
					&smmu_domain->pgtbl_cfg);
	}
	}
	smmu->smmu_restore = true;
	smmu->smmu_restore = true;
	ret = arm_smmu_pm_resume(dev);
	ret = arm_smmu_pm_resume(dev);