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

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

Merge "iommu: arm-smmu: Make restore of smmu-context runtime detectable"

parents b391af52 76fa02bf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4253,7 +4253,7 @@ static void arm_smmu_device_reset(struct arm_smmu_device *smmu)
	 * invalid and all S2CRn as bypass unless overridden.
	 */
	if (!(smmu->options & ARM_SMMU_OPT_SKIP_INIT) ||
			IS_ENABLED(CONFIG_HIBERNATION)) {
		 (IS_ENABLED(CONFIG_HIBERNATION) && smmu->smmu_restore)) {
		for (i = 0; i < smmu->num_mapping_groups; ++i)
			arm_smmu_write_sme(smmu, i);