Re: [PATCH v2 9/9] xen/gntdev: Expose gntdev's dma-buf API for in-kernel use

From: Oleksandr Andrushchenko
Date: Wed Jun 06 2018 - 08:47:09 EST


On 06/05/2018 01:36 AM, Boris Ostrovsky wrote:
On 06/01/2018 07:41 AM, Oleksandr Andrushchenko wrote:
From: Oleksandr Andrushchenko <oleksandr_andrushchenko@xxxxxxxx>

Allow creating grant device context for use by kernel modules which
require functionality, provided by gntdev. Export symbols for dma-buf
API provided by the module.
Can you give an example of who'd be using these interfaces?
There is no use-case at the moment I can think of, but hyper dma-buf [1], [2]
I let Intel folks (CCed) to defend this patch as it was done primarily for them
and I don't use it in any of my use-cases. So, from this POV it can be dropped,
at least from this series.

-boris

[1] https://patchwork.freedesktop.org/series/38207/
[2] https://patchwork.freedesktop.org/patch/204447/