olution may be (and is) not correct, but my intend is to
start the discussion in order to produce the appropriate solution.
Best regards,
Oleksii.
On 02.01.23 15:41, Oleksii Moisieiev wrote:
Hello,
Let me introduce the new ioctls, which are intended to allow gntdev to
map scatter-gather
gntdev refs export
and grant refs should be unmapped before dma buffer release.
Signed-off-by: Oleksii Moisieiev
---
drivers/dma-buf/dma-buf.c | 44 +++
include/linux/dma-buf.h | 15 +
2 files changed, 59 insertions(+)
diff --git a/drivers/dma-b
uffer should be detroyed.
IOCTL_GNTDEV_DMABUF_MAP_WAIT_RELEASED - wait for timeout until buffer is
completely destroyed and gnt refs unmapped so domain could free grant
pages.
Signed-off-by: Oleksii Moisieiev
---
drivers/xen/gntdev-common.h | 8 +-
drivers/xen/gntdev
On 02.01.23 18:36, Koenig, Christian wrote:
[AMD Official Use Only - General]
Sorry for the messed up mail. We currently have mail problems here at AMD.
Von: Oleksii Moisieiev
<mailto:oleksii_moisie...@epam.com>
Gesendet: Montag, 2. Januar 2023 14:41
A
MB call to create backing storage buffer.
---
Oleksii Moisieiev (3):
xen/grant-table: save page_count on map and use if during async
unmapping
dma-buf: add dma buffer release notifier callback
xen/grant-table: add new ioctls to map dmabuf to existing fd
drivers/dma-buf/dma-buf.c | 44
o provide the expected page_count during
map call so refs could be unmapped properly without unneeded defers.
Signed-off-by: Oleksii Moisieiev
---
drivers/xen/grant-table.c | 16 +++-
include/xen/grant_table.h | 3 +++
2 files changed, 18 insertions(+), 1 deletion(-)
diff --git a/driv
Greetings.
I need your advise about the problem I'm facing right now:
I'm working on the new type of dmabuf export implementation. This
is going to be new ioctl to the gntdev and it's purpose is to use
external buffer, provided by file descriptor as the backing storage
during export to grant refs
On Wed, Oct 19, 2022 at 02:30:13PM +0200, Juergen Gross wrote:
> On 19.10.22 12:43, Oleksii Moisieiev wrote:
> > Greetings.
> >
> > I need your advise about the problem I'm facing right now:
> > I'm working on the new type of dmabuf export implementation. Thi