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

Commit 4be6a290 authored by Joerg Roedel's avatar Joerg Roedel
Browse files

iommu/msm: Implement DOMAIN_ATTR_GEOMETRY attribute



Implement the attribute for the MSM IOMMU driver.

Acked-by: default avatarDavid Brown <davidb@codeaurora.org>
Signed-off-by: default avatarJoerg Roedel <joerg.roedel@amd.com>
parent 2c6edb0c
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -226,6 +226,11 @@ static int msm_iommu_domain_init(struct iommu_domain *domain)

	memset(priv->pgtable, 0, SZ_16K);
	domain->priv = priv;

	domain->geometry.aperture_start = 0;
	domain->geometry.aperture_end   = (1ULL << 32) - 1;
	domain->geometry.force_aperture = true;

	return 0;

fail_nomem: