Messages in this thread | | | Subject | Re: [PATCH 5/8] xen/gntdev: Add initial support for dma-buf UAPI | From | Oleksandr Andrushchenko <> | Date | Wed, 30 May 2018 09:52:07 +0300 |
| |
On 05/25/2018 06:33 PM, Oleksandr Andrushchenko wrote: > diff --git a/drivers/xen/Kconfig b/drivers/xen/Kconfig > index 3431fe210624..eaf63a2c7ae6 100644 > --- a/drivers/xen/Kconfig > +++ b/drivers/xen/Kconfig > @@ -152,6 +152,16 @@ config XEN_GNTDEV > help > Allows userspace processes to use grants. > > +config XEN_GNTDEV_DMABUF > + bool "Add support for dma-buf grant access device driver extension" > + depends on XEN_GNTDEV && XEN_GRANT_DMA_ALLOC This must be "depends on XEN_GNTDEV && XEN_GRANT_DMA_ALLOC && *DMA_SHARED_BUFFER*" > + help > + Allows userspace processes and kernel modules to use Xen backed > + dma-buf implementation. With this extension grant references to > + the pages of an imported dma-buf can be exported for other domain > + use and grant references coming from a foreign domain can be > + converted into a local dma-buf for local export. > + >
| |