[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH 0/4] xen/arm: introduce XENMEM_cache_flush



Hi all,
this patch series introduces a new hypercall to perform cache
maintenance operations on behalf of the guest. It is useful for dom0 to
be able to cache flush pages involved in a dma operation with
non-coherent devices.

It also removes XENFEAT_grant_map_identity as the feature is no longer
necessary: it was used to achieve the same goal but the guest can now
use the hypercall instead. Keeping the flag would also have a
significant performance impact as a new p2m mapping gets created and
then destroyed for every grant that is mapped and unmapped in dom0.



Stefano Stabellini (4):
      xen/arm: introduce invalidate_xen_dcache_va_range
      xen: introduce grant_map_exists
      xen/arm: introduce XENMEM_cache_flush
      Revert "xen/arm: introduce XENFEAT_grant_map_identity"

 xen/arch/arm/mm.c                  |   92 ++++++++++++++++++++++++++++++++++++
 xen/common/grant_table.c           |   62 ++++++++++++++----------
 xen/common/kernel.c                |    2 -
 xen/drivers/passthrough/arm/smmu.c |   33 +++++++++++++
 xen/include/asm-arm/arm32/page.h   |    3 ++
 xen/include/asm-arm/arm64/page.h   |    3 ++
 xen/include/asm-arm/grant_table.h  |    3 +-
 xen/include/asm-arm/page.h         |   30 ++++++++++++
 xen/include/public/memory.h        |   17 +++++++
 xen/include/xen/grant_table.h      |    4 ++
 10 files changed, 221 insertions(+), 28 deletions(-)

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.