xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/3] introduce XENMEM_get_dma_buf and XENMEM_put_dma_buf
@ 2013-08-05 16:40 Stefano Stabellini
  2013-08-05 16:40 ` [PATCH v3 1/3] xen/arm: implement steal_page Stefano Stabellini
                   ` (2 more replies)
  0 siblings, 3 replies; 30+ messages in thread
From: Stefano Stabellini @ 2013-08-05 16:40 UTC (permalink / raw)
  To: xen-devel; +Cc: Tim Deegan, Ian Campbell, Stefano Stabellini

Hi all,
this patch series introduces two new hypercalls to allow autotranslate
guests to allocate a contiguous buffer in machine addresses.
The XENMEM_get_dma_buf returns the mfns and makes sure to pin the pages
so that the hypervisor won't change their p2m mappings while in use.
XENMEM_put_dma_buf simply unpins the pages.

Cheers,

Stefano


Changes in v2:
- actually don't print the warning more than once.

Changes in v3:
- implement guest_physmap_pin_range and guest_physmap_unpin_range on
  ARM;
- implement XENMEM_put_dma_buf.



Stefano Stabellini (3):
      xen/arm: implement steal_page
      xen: implement guest_physmap_(un)pin_range
      xen: introduce XENMEM_get_dma_buf and XENMEM_put_dma_buf

 xen/arch/arm/mm.c           |   43 ++++++++++++++
 xen/arch/arm/p2m.c          |  131 +++++++++++++++++++++++++++++++++++++++++++
 xen/common/memory.c         |   73 +++++++++++++++++++++++-
 xen/include/asm-arm/mm.h    |    4 +
 xen/include/asm-arm/page.h  |    6 ++-
 xen/include/asm-x86/p2m.h   |   12 ++++
 xen/include/public/memory.h |   64 +++++++++++++++++++++
 7 files changed, 329 insertions(+), 4 deletions(-)

git://xenbits.xen.org/people/sstabellini/xen-unstable.git get_dma_buf_3

^ permalink raw reply	[flat|nested] 30+ messages in thread

end of thread, other threads:[~2013-08-15 14:32 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-05 16:40 [PATCH v3 0/3] introduce XENMEM_get_dma_buf and XENMEM_put_dma_buf Stefano Stabellini
2013-08-05 16:40 ` [PATCH v3 1/3] xen/arm: implement steal_page Stefano Stabellini
2013-08-08  9:55   ` Ian Campbell
2013-08-08 10:37     ` Stefano Stabellini
2013-08-09 15:46   ` Konrad Rzeszutek Wilk
2013-08-14 13:40     ` Stefano Stabellini
2013-08-05 16:40 ` [PATCH v3 2/3] xen: implement guest_physmap_(un)pin_range Stefano Stabellini
2013-08-08 10:52   ` Ian Campbell
2013-08-14 16:08     ` Stefano Stabellini
2013-08-15 14:32       ` Ian Campbell
2013-08-05 16:40 ` [PATCH v3 3/3] xen: introduce XENMEM_get_dma_buf and XENMEM_put_dma_buf Stefano Stabellini
2013-08-08 10:40   ` Ian Campbell
2013-08-08 14:12     ` Keir Fraser
2013-08-08 14:16       ` Stefano Stabellini
2013-08-08 14:26         ` Tim Deegan
2013-08-08 15:04           ` Stefano Stabellini
2013-08-08 14:27         ` Ian Campbell
2013-08-08 14:47         ` Keir Fraser
2013-08-13 16:05     ` Stefano Stabellini
2013-08-13 22:07       ` Ian Campbell
2013-08-08 11:43   ` Jan Beulich
2013-08-08 14:12     ` Stefano Stabellini
2013-08-08 14:38       ` Jan Beulich
2013-08-08 14:44         ` Stefano Stabellini
2013-08-08 14:50           ` Jan Beulich
2013-08-08 14:54             ` Stefano Stabellini
2013-08-08 14:58               ` Jan Beulich
2013-08-08 15:25   ` Ian Campbell
2013-08-14 16:17     ` Stefano Stabellini
2013-08-15 14:32       ` Ian Campbell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).