|
@@ -939,6 +939,8 @@ static int arm_smmu_init_domain_context(struct iommu_domain *domain,
|
|
|
|
|
|
/* Update the domain's page sizes to reflect the page table format */
|
|
/* Update the domain's page sizes to reflect the page table format */
|
|
domain->pgsize_bitmap = pgtbl_cfg.pgsize_bitmap;
|
|
domain->pgsize_bitmap = pgtbl_cfg.pgsize_bitmap;
|
|
|
|
+ domain->geometry.aperture_end = (1UL << ias) - 1;
|
|
|
|
+ domain->geometry.force_aperture = true;
|
|
|
|
|
|
/* Initialise the context bank with our page table cfg */
|
|
/* Initialise the context bank with our page table cfg */
|
|
arm_smmu_init_context_bank(smmu_domain, &pgtbl_cfg);
|
|
arm_smmu_init_context_bank(smmu_domain, &pgtbl_cfg);
|