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

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

Merge "iommu: arm-smmu: remove actlr CB scan"

parents d32ca4ec 1685bdc5
Loading
Loading
Loading
Loading
+0 −6
Original line number Original line Diff line number Diff line
@@ -4764,12 +4764,6 @@ static int arm_smmu_device_cfg_probe(struct arm_smmu_device *smmu)
				 sizeof(*smmu->cbs), GFP_KERNEL);
				 sizeof(*smmu->cbs), GFP_KERNEL);
	if (!smmu->cbs)
	if (!smmu->cbs)
		return -ENOMEM;
		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 */
	/* ID2 */
	id = readl_relaxed(gr0_base + ARM_SMMU_GR0_ID2);
	id = readl_relaxed(gr0_base + ARM_SMMU_GR0_ID2);