summaryrefslogtreecommitdiffstats
path: root/include/xen/interface
diff options
context:
space:
mode:
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>2014-09-11 00:49:30 +0200
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>2014-09-11 20:11:52 +0200
commit5ebc77de83c7b74543de774afa7395b3b790e65e (patch)
treeed73142a80e34fc36e66ac52231b66446ca9f72a /include/xen/interface
parentx86/xen: don't copy bogus duplicate entries into kernel page tables (diff)
downloadlinux-5ebc77de83c7b74543de774afa7395b3b790e65e.tar.xz
linux-5ebc77de83c7b74543de774afa7395b3b790e65e.zip
xen/arm: introduce XENFEAT_grant_map_identity
The flag tells us that the hypervisor maps a grant page to guest physical address == machine address of the page in addition to the normal grant mapping address. It is needed to properly issue cache maintenance operation at the completion of a DMA operation involving a foreign grant. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Tested-by: Denis Schneider <v1ne2go@gmail.com>
Diffstat (limited to 'include/xen/interface')
-rw-r--r--include/xen/interface/features.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/xen/interface/features.h b/include/xen/interface/features.h
index 131a6ccdba25..14334d0161d5 100644
--- a/include/xen/interface/features.h
+++ b/include/xen/interface/features.h
@@ -53,6 +53,9 @@
/* operation as Dom0 is supported */
#define XENFEAT_dom0 11
+/* Xen also maps grant references at pfn = mfn */
+#define XENFEAT_grant_map_identity 12
+
#define XENFEAT_NR_SUBMAPS 1
#endif /* __XEN_PUBLIC_FEATURES_H__ */