Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

iommu/msm: Implement DOMAIN_ATTR_GEOMETRY attribute

Implement the attribute for the MSM IOMMU driver.

Acked-by: David Brown <davidb@codeaurora.org>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>

+5
+5
drivers/iommu/msm_iommu.c
··· 226 226 227 227 memset(priv->pgtable, 0, SZ_16K); 228 228 domain->priv = priv; 229 + 230 + domain->geometry.aperture_start = 0; 231 + domain->geometry.aperture_end = (1ULL << 32) - 1; 232 + domain->geometry.force_aperture = true; 233 + 229 234 return 0; 230 235 231 236 fail_nomem: