Re: [RFC PATCH v1 04/15] iommu: Add DOMAIN_ATTR_PTBASE

From: Joerg Roedel
Date: Mon Mar 18 2019 - 05:53:29 EST


On Fri, Mar 01, 2019 at 12:38:26PM -0700, Jordan Crouse wrote:
> Add an attribute to return the base address of the pagetable. This is used
> by auxiliary domains from arm-smmu to return the address of the pagetable
> to the leaf driver so that it can set the appropriate pagetable through
> it's own means.

What is this going to be used for? Page-table management is supposed to
happen in the arm-smmu driver and the gpu driver only makes changes
through iommu_map/iommu_unmap calls.


Regards,

Joerg