alistair23-linux/drivers/xen
Oleksandr Andrushchenko bf8dc55b13 xen/gntdev: Implement dma-buf import functionality
1. Import a dma-buf with the file descriptor provided and export
   granted references to the pages of that dma-buf into the array
   of grant references.

2. Add API to close all references to an imported buffer, so it can be
   released by the owner. This is only valid for buffers created with
   IOCTL_GNTDEV_DMABUF_IMP_TO_REFS.

Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
2018-07-26 23:05:14 -04:00
..
events xen: Remove unnecessary BUG_ON from __unbind_from_irq() 2018-06-22 08:32:52 +02:00
xen-pciback treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
xenbus xen/store: do not store local values in xen_start_info 2018-05-17 08:39:13 +02:00
xenfs
acpi.c
arm-device.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
balloon.c xen/balloon: Share common memory reservation routines 2018-07-26 23:05:13 -04:00
biomerge.c
cpu_hotplug.c
dbgp.c
efi.c
evtchn.c treewide: kvmalloc() -> kvmalloc_array() 2018-06-12 16:19:22 -07:00
fallback.c
features.c
gntalloc.c
gntdev-common.h xen/gntdev: Add initial support for dma-buf UAPI 2018-07-26 23:05:14 -04:00
gntdev-dmabuf.c xen/gntdev: Implement dma-buf import functionality 2018-07-26 23:05:14 -04:00
gntdev-dmabuf.h xen/gntdev: Add initial support for dma-buf UAPI 2018-07-26 23:05:14 -04:00
gntdev.c xen/gntdev: Add initial support for dma-buf UAPI 2018-07-26 23:05:14 -04:00
grant-table.c xen/grant-table: Allow allocating buffers suitable for DMA 2018-07-26 23:05:14 -04:00
Kconfig xen/gntdev: Add initial support for dma-buf UAPI 2018-07-26 23:05:14 -04:00
Makefile xen/gntdev: Add initial support for dma-buf UAPI 2018-07-26 23:05:14 -04:00
manage.c xen: add error handling for xenbus_printf 2018-06-19 14:27:41 +02:00
mcelog.c
mem-reservation.c xen/balloon: Share common memory reservation routines 2018-07-26 23:05:13 -04:00
pci.c
pcpu.c
platform-pci.c
preempt.c
privcmd-buf.c xen: add new hypercall buffer mapping device 2018-06-22 08:26:42 +02:00
privcmd.c xen: add new hypercall buffer mapping device 2018-06-22 08:26:42 +02:00
privcmd.h xen: add new hypercall buffer mapping device 2018-06-22 08:26:42 +02:00
pvcalls-back.c
pvcalls-front.c
pvcalls-front.h
swiotlb-xen.c xen-swiotlb: fix the check condition for xen_swiotlb_free_coherent 2018-05-18 14:37:16 -04:00
sys-hypervisor.c
time.c
tmem.c
xen-acpi-cpuhotplug.c
xen-acpi-memhotplug.c
xen-acpi-pad.c
xen-acpi-processor.c xen/acpi: off by one in read_acpi_id() 2018-03-30 11:30:13 -04:00
xen-balloon.c
xen-scsiback.c xen/scsiback: add error handling for xenbus_printf 2018-06-19 14:54:49 +02:00
xen-selfballoon.c
xen-stub.c
xlate_mmu.c