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

Commit 1685bdc5 authored by Prakash Gupta's avatar Prakash Gupta
Browse files

iommu: arm-smmu: remove actlr CB scan



ACTLR regiter read scan for all CBs are not required. Avoid this.

Change-Id: Icd3bfe66a7251bea1827b138bfc68284fb7b5b4c
Fixes: 07cff1d2 ("iommu: arm-smmu: Add PM support for actlr register")
Signed-off-by: default avatarPrakash Gupta <guptap@codeaurora.org>
parent fef3ad51
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -4763,12 +4763,6 @@ static int arm_smmu_device_cfg_probe(struct arm_smmu_device *smmu)
				 sizeof(*smmu->cbs), GFP_KERNEL);
	if (!smmu->cbs)
		return -ENOMEM;
	for (i = 0; i < smmu->num_context_banks; i++) {
		void __iomem *cb_base;

		cb_base = ARM_SMMU_CB(smmu, i);
		smmu->cbs[i].actlr = readl_relaxed(cb_base + ARM_SMMU_CB_ACTLR);
	}

	/* ID2 */
	id = readl_relaxed(gr0_base + ARM_SMMU_GR0_ID2);