Re: [Xen-devel] PV audio drivers for Linux

2017-01-18 Thread Oleksandr Andrushchenko
...@epam.com; oleksandr_gryt...@epam.com; oleksandr.dmytrys...@globallogic.com; iurii.konovale...@globallogic.com; konrad.w...@oracle.com Subject: Re: [Xen-devel] PV audio drivers for Linux On Tue, 17 Jan 2017, Ughreja, Rakesh A wrote: Hi, I am trying to develop PV audio drivers and facing one

Re: [Xen-devel] PV audio drivers for Linux

2017-01-18 Thread Stefano Stabellini
..@epam.com; > >oleksandr_gryt...@epam.com; oleksandr.dmytrys...@globallogic.com; > >iurii.konovale...@globallogic.com; konrad.w...@oracle.com > >Subject: Re: [Xen-devel] PV audio drivers for Linux > > > >On Tue, 17 Jan 2017, Ughreja, Rakesh A wrote: > >> Hi, >

Re: [Xen-devel] PV audio drivers for Linux

2017-01-18 Thread Jan Beulich
>>> On 18.01.17 at 16:45, wrote: >>From: Jan Beulich [mailto:jbeul...@suse.com] >>Sent: Wednesday, January 18, 2017 3:39 PM > On 17.01.17 at 19:01, wrote: >>> When the buffer is allocated using __get_free_pages() on the DOM0 >>> OS, I am able to grant the access using gnttab_grant_foreign_acc

Re: [Xen-devel] PV audio drivers for Linux

2017-01-18 Thread Ughreja, Rakesh A
>-Original Message- >From: Jan Beulich [mailto:jbeul...@suse.com] >Sent: Wednesday, January 18, 2017 3:39 PM >To: Ughreja, Rakesh A >Cc: xen-devel@lists.xen.org >Subject: Re: [Xen-devel] PV audio drivers for Linux > >>>> On 17.01.17 at 19:01, wrote

Re: [Xen-devel] PV audio drivers for Linux

2017-01-18 Thread Oleksandr Andrushchenko
; oleksandr.dmytrys...@globallogic.com; iurii.konovale...@globallogic.com; konrad.w...@oracle.com Subject: Re: [Xen-devel] PV audio drivers for Linux On Tue, 17 Jan 2017, Ughreja, Rakesh A wrote: Hi, I am trying to develop PV audio drivers and facing one issue to achieve zero copy of the buffers between

Re: [Xen-devel] PV audio drivers for Linux

2017-01-18 Thread Jan Beulich
>>> On 17.01.17 at 19:01, wrote: > When the buffer is allocated using __get_free_pages() on the DOM0 > OS, I am able to grant the access using gnttab_grant_foreign_access() > to DOM1 as well as I am able to map it in the DOM1 virtual space > using xenbus_map_ring_valloc(). A more general remar

Re: [Xen-devel] PV audio drivers for Linux

2017-01-17 Thread Ughreja, Rakesh A
..@globallogic.com; >iurii.konovale...@globallogic.com; konrad.w...@oracle.com >Subject: Re: [Xen-devel] PV audio drivers for Linux > >On Tue, 17 Jan 2017, Ughreja, Rakesh A wrote: >> Hi, >> >> I am trying to develop PV audio drivers and facing one issue to >> achieve zero co

Re: [Xen-devel] PV audio drivers for Linux

2017-01-17 Thread Stefano Stabellini
On Tue, 17 Jan 2017, Ughreja, Rakesh A wrote: > Hi, > > I am trying to develop PV audio drivers and facing one issue to > achieve zero copy of the buffers between Front End (DOM1) and > Back End (DOM0) drivers. You might want to take a look at the existing PV sound proposal: http://marc.info/?

[Xen-devel] PV audio drivers for Linux

2017-01-17 Thread Ughreja, Rakesh A
Hi, I am trying to develop PV audio drivers and facing one issue to achieve zero copy of the buffers between Front End (DOM1) and Back End (DOM0) drivers. When the buffer is allocated using __get_free_pages() on the DOM0 OS, I am able to grant the access using gnttab_grant_foreign_access() to