From a4c8bee14072cc665ca7224dcda9b32b28c29985 Mon Sep 17 00:00:00 2001 From: Mitchel Humpherys Date: Mon, 24 Nov 2014 12:31:02 -0800 Subject: [PATCH] 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 --- include/linux/iommu.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/iommu.h b/include/linux/iommu.h index 42a61ecec957..85ec8fda186c 100644 --- a/include/linux/iommu.h +++ b/include/linux/iommu.h @@ -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, };