xen/arm: introduce XENFEAT_grant_map_identity
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Wed, 10 Sep 2014 22:49:30 +0000 (22:49 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Thu, 11 Sep 2014 18:11:52 +0000 (18:11 +0000)
commit5ebc77de83c7b74543de774afa7395b3b790e65e
treeed73142a80e34fc36e66ac52231b66446ca9f72a
parent0b5a50635fc916cf46e3de0b819a61fc3f17e7ee
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>
arch/arm/xen/enlighten.c
include/xen/interface/features.h