iommu: Add DOMAIN_ATTR_PT_BASE_ADDR domain attribute

This attribute can be used to get the base address of the page tables
for the given domain.  This can be useful for some drivers that switch
page tables around out-of-band (for example, per-process page tables
managed by the GPU).

Change-Id: I7c67c4c6435e5aadba129a53be532c2396dccf9c
Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
This commit is contained in:
Mitchel Humpherys 2014-11-24 12:31:02 -08:00 committed by David Keitel
parent 044e57d726
commit a4c8bee140

View file

@ -86,6 +86,7 @@ enum iommu_attr {
DOMAIN_ATTR_FSL_PAMUV1,
DOMAIN_ATTR_NESTING, /* two stages of translation */
DOMAIN_ATTR_COHERENT_HTW_DISABLE,
DOMAIN_ATTR_PT_BASE_ADDR,
DOMAIN_ATTR_MAX,
};