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

Commit 016a1415 authored by Kyle Yan's avatar Kyle Yan Committed by Gerrit - the friendly Code Review server
Browse files

Merge "iommu/arm-smmu: Set domain geometry" into msm-4.8

parents 1fcb5ca2 d7a8d04b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1635,6 +1635,8 @@ static int arm_smmu_init_domain_context(struct iommu_domain *domain,

	/* Update the domain's page sizes to reflect the page table format */
	domain->pgsize_bitmap = smmu_domain->pgtbl_cfg.pgsize_bitmap;
	domain->geometry.aperture_end = (1UL << ias) - 1;
	domain->geometry.force_aperture = true;

	/* Assign an asid */
	ret = arm_smmu_init_asid(domain, smmu);