Re: [Xen-devel] [PATCH v2] displif: add ABI for para-virtual display

2017-01-27 Thread Oleksandr Andrushchenko
PFA pahole output On 01/27/2017 03:08 PM, Oleksandr Andrushchenko wrote: From: Oleksandr Andrushchenko This is the ABI for the two halves of a para-virtualized display driver. This protocol aims to provide a unified protocol which fits more sophisticated use-cases than a framebuffer

[Xen-devel] [PATCH v2] displif: add ABI for para-virtual display

2017-01-27 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko This is the ABI for the two halves of a para-virtualized display driver. This protocol aims to provide a unified protocol which fits more sophisticated use-cases than a framebuffer device can handle. At the moment basic functionality is supported with the

[Xen-devel] [PATCH v2] displif: add ABI for para-virtual display

2017-01-27 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko This is the ABI for the two halves of a para-virtualized display driver. This protocol aims to provide a unified protocol which fits more sophisticated use-cases than a framebuffer device can handle. At the moment basic functionality is supported with the intention

[Xen-devel] [PATCH v16] xen/sndif: Add sound-device ABI

2017-01-27 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko This is the ABI for the two halves of a para-virtualized sound driver to communicate with each other. The ABI allows implementing audio playback and capture as well as volume control and possibility to mute/unmute audio sources. Note: depending on the use-case

[Xen-devel] [PATCH v16] sndif: add ABI for para-virtual sound

2017-01-27 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Hi, all! Please find the next version of the ABI for the PV sound after addressing review comments. Thank you, Oleksandr Andrushchenko Oleksandr Grytsov Oleksandr Andrushchenko (1): xen/sndif: Add sound-device ABI xen/include/public/io/sndif.h | 725

Re: [Xen-devel] [PATCH v2] xen, input: try to read screen resolution for xen-kbdfront

2017-01-27 Thread Oleksandr Andrushchenko
On 01/27/2017 10:14 AM, Juergen Gross wrote: On 27/01/17 08:53, Oleksandr Andrushchenko wrote: On 01/27/2017 09:46 AM, Juergen Gross wrote: On 27/01/17 08:21, Oleksandr Andrushchenko wrote: On 01/27/2017 09:12 AM, Juergen Gross wrote: Instead of using the default resolution of 800*600 for

Re: [Xen-devel] [PATCH v1] displif: add ABI for para-virtual display

2017-01-27 Thread Oleksandr Andrushchenko
ctual patch description. Jan On 01/05/2017 08:07 PM, Oleksandr Andrushchenko wrote: On 01/05/2017 06:12 PM, Jan Beulich wrote: On 05.01.17 at 17:03, wrote: On 01/05/2017 05:45 PM, Jan Beulich wrote: On 22.12.16 at 09:12, wrote: Other than that the primary thing I'm missing (as I

Re: [Xen-devel] POSIX error names and codes in PV protocols

2017-01-27 Thread Oleksandr Andrushchenko
On 01/27/2017 10:01 AM, Jan Beulich wrote: On 26.01.17 at 18:28, wrote: The problem is that it is not exposed to Linux, but I can see it in FreeBSD [1] and the helper to convert error codes [2] there as well. Is there any reason these are not available in Linux? Well, the header should eventua

Re: [Xen-devel] [PATCH v2] xen, input: try to read screen resolution for xen-kbdfront

2017-01-26 Thread Oleksandr Andrushchenko
On 01/27/2017 09:46 AM, Juergen Gross wrote: On 27/01/17 08:21, Oleksandr Andrushchenko wrote: On 01/27/2017 09:12 AM, Juergen Gross wrote: Instead of using the default resolution of 800*600 for the pointing device of xen-kbdfront try to read the resolution of the (virtual) framebuffer device

Re: [Xen-devel] Xen on lager for DOMU

2017-01-26 Thread Oleksandr Andrushchenko
On 01/26/2017 09:11 PM, Julien Grall wrote: On 24/01/2017 13:05, George John wrote: Hi all, Hello, I was able to bring up Dom0 in lager board by steps followed by charles. What could be the steps I could follow to bring up DomU in xen for lager board.?.. You can give a look to: - ht

Re: [Xen-devel] [PATCH v2] xen, input: try to read screen resolution for xen-kbdfront

2017-01-26 Thread Oleksandr Andrushchenko
On 01/27/2017 09:12 AM, Juergen Gross wrote: Instead of using the default resolution of 800*600 for the pointing device of xen-kbdfront try to read the resolution of the (virtual) framebuffer device. Use the default as fallback only. Signed-off-by: Juergen Gross --- V2: get framebuffer resoluti

Re: [Xen-devel] [DOC v8] PV Calls protocol design

2017-01-26 Thread Oleksandr Andrushchenko
Hi, Stefano! Error numbers The numbers corresponding to the error names specified by POSIX are: [EPERM] -1 [ENOENT]-2 Don't you want to use Xen's errno.h here as described in [1]? So we have error codes consistent for all PV protocols? Thanks, Oleksandr [1] ht

Re: [Xen-devel] POSIX error names and codes in PV protocols

2017-01-26 Thread Oleksandr Andrushchenko
On 01/26/2017 08:16 PM, Roger Pau Monné wrote: On Thu, Jan 26, 2017 at 08:14:10PM +0200, Oleksandr Andrushchenko wrote: On 01/26/2017 07:38 PM, Roger Pau Monné wrote: On Thu, Jan 26, 2017 at 07:28:44PM +0200, Oleksandr Andrushchenko wrote: On 01/26/2017 05:44 PM, Jan Beulich wrote: On

Re: [Xen-devel] [PATCH v1] displif: add ABI for para-virtual display

2017-01-26 Thread Oleksandr Andrushchenko
Hi, Jan! Does the below answer your question? Thank you, Oleksandr On 01/05/2017 08:07 PM, Oleksandr Andrushchenko wrote: On 01/05/2017 06:12 PM, Jan Beulich wrote: On 05.01.17 at 17:03, wrote: On 01/05/2017 05:45 PM, Jan Beulich wrote: On 22.12.16 at 09:12, wrote: Other than that the

Re: [Xen-devel] POSIX error names and codes in PV protocols

2017-01-26 Thread Oleksandr Andrushchenko
On 01/26/2017 07:38 PM, Roger Pau Monné wrote: On Thu, Jan 26, 2017 at 07:28:44PM +0200, Oleksandr Andrushchenko wrote: On 01/26/2017 05:44 PM, Jan Beulich wrote: On 26.01.17 at 15:40, wrote: There is some work happening on new PV protocols: sndif [1], displif [2], PV calls [3] and the

Re: [Xen-devel] POSIX error names and codes in PV protocols

2017-01-26 Thread Oleksandr Andrushchenko
On 01/26/2017 05:44 PM, Jan Beulich wrote: On 26.01.17 at 15:40, wrote: There is some work happening on new PV protocols: sndif [1], displif [2], PV calls [3] and the common part of those is that error/status codes must be returned as a part of a response packet. For that Konrad suggested [1

[Xen-devel] POSIX error names and codes in PV protocols

2017-01-26 Thread Oleksandr Andrushchenko
Hi, all! There is some work happening on new PV protocols: sndif [1], displif [2], PV calls [3] and the common part of those is that error/status codes must be returned as a part of a response packet. For that Konrad suggested [1] (and Stefano already used in [3]) POSIX to be employed here in

Re: [Xen-devel] [PATCH v15] This is the ABI for the two halves of a para-virtualized sound driver to communicate with each to other.

2017-01-26 Thread Oleksandr Andrushchenko
On 01/26/2017 01:54 PM, Dario Faggioli wrote: On Thu, 2017-01-26 at 13:23 +0200, Oleksandr Andrushchenko wrote: On 01/26/2017 01:09 PM, Dario Faggioli wrote: On 01/24/2017 09:13 PM, Konrad Rzeszutek Wilk wrote: On Mon, Dec 05, 2016 at 03:05:29PM +0200, Oleksandr Andrushchenko wrote

Re: [Xen-devel] [PATCH v15] This is the ABI for the two halves of a para-virtualized sound driver to communicate with each to other.

2017-01-26 Thread Oleksandr Andrushchenko
On 01/26/2017 01:09 PM, Dario Faggioli wrote: On Thu, 2017-01-26 at 12:02 +0200, Oleksandr Andrushchenko wrote: Hi, Konrad! First of all thank you very much for the valuable comments and your time! The number of changes (mostly in description) is going to be huge, so do you think I can

Re: [Xen-devel] [PATCH v15] This is the ABI for the two halves of a para-virtualized sound driver to communicate with each to other.

2017-01-26 Thread Oleksandr Andrushchenko
7 09:13 PM, Konrad Rzeszutek Wilk wrote: On Mon, Dec 05, 2016 at 03:05:29PM +0200, Oleksandr Andrushchenko wrote: From: Oleksandr Andrushchenko Usually one also puts somethign in the commit description. When I applied this to me tree I got: [konrad@char xen]$ git log --oneline HEAD^.. ecc77

[Xen-devel] [PATCH v2 2/2] xen/kbdif: add multi-touch support

2017-01-25 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Signed-off-by: Oleksandr Andrushchenko --- xen/include/public/io/kbdif.h | 210 ++ 1 file changed, 210 insertions(+) diff --git a/xen/include/public/io/kbdif.h b/xen/include/public/io/kbdif.h index 446aed2478b5

[Xen-devel] [PATCH v2 0/2] xen/kbdif: add multi-touch support

2017-01-25 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Hi, all! This series updates existing kbdif protocol documentation and adds multi-touch support Thank you, Oleksandr Andrushchenko Changes since v1: * removed mtouch folder * changed mtouch xenstore parameters' names * single multi-touch device per drive

[Xen-devel] [PATCH v2 1/2] xen/kbdif: update protocol documentation

2017-01-25 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Reviewed-by: Stefano Stabellini Signed-off-by: Oleksandr Andrushchenko --- xen/include/public/io/kbdif.h | 248 +- 1 file changed, 221 insertions(+), 27 deletions(-) diff --git a/xen/include/public/io/kbdif.h b/xen/include

Re: [Xen-devel] [PATCH v1 2/2] xen/kbdif: add multi-touch support

2017-01-25 Thread Oleksandr Andrushchenko
On 01/25/2017 01:05 AM, Stefano Stabellini wrote: On Tue, 24 Jan 2017, Oleksandr Andrushchenko wrote: On 01/23/2017 09:49 PM, Stefano Stabellini wrote: On Sat, 21 Jan 2017, Oleksandr Andrushchenko wrote: In the mail-thread you mentioned above there is a picture of the xenstore entries and

Re: [Xen-devel] [PATCH v1 2/2] xen/kbdif: add multi-touch support

2017-01-23 Thread Oleksandr Andrushchenko
On 01/23/2017 09:49 PM, Stefano Stabellini wrote: On Sat, 21 Jan 2017, Oleksandr Andrushchenko wrote: In the mail-thread you mentioned above there is a picture of the xenstore entries and conclusion: 1. No change to the existing kbd+ptr: 1.1. They still share a dedicated (single) connection

Re: [Xen-devel] [PATCH v1 2/2] xen/kbdif: add multi-touch support

2017-01-21 Thread Oleksandr Andrushchenko
On 01/21/2017 01:01 AM, Stefano Stabellini wrote: On Fri, 20 Jan 2017, Oleksandr Andrushchenko wrote: On 01/20/2017 07:52 PM, Stefano Stabellini wrote: On Fri, 20 Jan 2017, Oleksandr Andrushchenko wrote: On 01/20/2017 12:22 AM, Stefano Stabellini wrote: On Thu, 19 Jan 2017, Oleksandr

Re: [Xen-devel] [PATCH v1 2/2] xen/kbdif: add multi-touch support

2017-01-20 Thread Oleksandr Andrushchenko
On 01/20/2017 07:52 PM, Stefano Stabellini wrote: On Fri, 20 Jan 2017, Oleksandr Andrushchenko wrote: On 01/20/2017 12:22 AM, Stefano Stabellini wrote: On Thu, 19 Jan 2017, Oleksandr Andrushchenko wrote: From: Oleksandr Andrushchenko Signed-off-by: Oleksandr Andrushchenko --- xen

Re: [Xen-devel] [PATCH v1 2/2] xen/kbdif: add multi-touch support

2017-01-19 Thread Oleksandr Andrushchenko
On 01/20/2017 12:22 AM, Stefano Stabellini wrote: On Thu, 19 Jan 2017, Oleksandr Andrushchenko wrote: From: Oleksandr Andrushchenko Signed-off-by: Oleksandr Andrushchenko --- xen/include/public/io/kbdif.h | 216 ++ 1 file changed, 216 insertions

Re: [Xen-devel] [PATCH v1 1/2] xen/kbdif: update protocol documentation

2017-01-19 Thread Oleksandr Andrushchenko
On 01/19/2017 08:56 PM, Stefano Stabellini wrote: On Thu, 19 Jan 2017, Oleksandr Andrushchenko wrote: From: Oleksandr Andrushchenko Signed-off-by: Oleksandr Andrushchenko --- xen/include/public/io/kbdif.h | 248 +- 1 file changed, 221 insertions

[Xen-devel] [PATCH v1 1/2] xen/kbdif: update protocol documentation

2017-01-19 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Signed-off-by: Oleksandr Andrushchenko --- xen/include/public/io/kbdif.h | 248 +- 1 file changed, 221 insertions(+), 27 deletions(-) diff --git a/xen/include/public/io/kbdif.h b/xen/include/public/io/kbdif.h index

[Xen-devel] [PATCH v1 2/2] xen/kbdif: add multi-touch support

2017-01-19 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Signed-off-by: Oleksandr Andrushchenko --- xen/include/public/io/kbdif.h | 216 ++ 1 file changed, 216 insertions(+) diff --git a/xen/include/public/io/kbdif.h b/xen/include/public/io/kbdif.h index c00faa3af5d2

[Xen-devel] [PATCH v1 0/2] xen/kbdif: add multi-touch support

2017-01-19 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Hi, all! This series updates existing kbdif protocol documentation and adds multi-touch support Thank you, Oleksandr Andrushchenko Oleksandr Andrushchenko (2): xen/kbdif: update protocol documentation xen/kbdif: add multi-touch support xen/include/public/io

Re: [Xen-devel] [PATCH 1/2] xen/kbdif: update protocol documentation

2017-01-18 Thread Oleksandr Andrushchenko
On 01/12/2017 08:36 AM, Oleksandr Andrushchenko wrote: On 01/12/2017 12:50 AM, Dario Faggioli wrote: On Wed, 2017-01-11 at 20:40 +0200, Oleksandr Andrushchenko wrote: On 01/11/2017 07:35 PM, Dario Faggioli wrote: It's indeed a repetition, but a good one, IMO: it helps the reader, a

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

2017-01-18 Thread Oleksandr Andrushchenko
On 01/18/2017 08:52 PM, Stefano Stabellini wrote: On Wed, 18 Jan 2017, Ughreja, Rakesh A wrote: -Original Message- From: Stefano Stabellini [mailto:sstabell...@kernel.org] Sent: Wednesday, January 18, 2017 5:41 AM To: Ughreja, Rakesh A Cc: xen-devel@lists.xen.org; oleksandr_andrushche..

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

2017-01-18 Thread Oleksandr Andrushchenko
On 01/18/2017 06:31 AM, Ughreja, Rakesh A wrote: -Original Message- From: Stefano Stabellini [mailto:sstabell...@kernel.org] Sent: Wednesday, January 18, 2017 5:41 AM To: Ughreja, Rakesh A Cc: xen-devel@lists.xen.org; oleksandr_andrushche...@epam.com; oleksandr_gryt...@epam.com; oleksa

Re: [Xen-devel] [PATCH 1/2] xen/kbdif: update protocol documentation

2017-01-11 Thread Oleksandr Andrushchenko
On 01/12/2017 12:50 AM, Dario Faggioli wrote: On Wed, 2017-01-11 at 20:40 +0200, Oleksandr Andrushchenko wrote: On 01/11/2017 07:35 PM, Dario Faggioli wrote: It's indeed a repetition, but a good one, IMO: it helps the reader, as she won't have to go back to figure out how big the

Re: [Xen-devel] [RFC] kbdif: add multi-touch support

2017-01-11 Thread Oleksandr Andrushchenko
I know it is cumbersome, and I might not be a fun of it myself, but it is required for new Xen protocol changes. I wrote all of the binary representations manually but if you find a tool to do it, please let me know :-) Letting you know ;) there is a project in Python which can do this [1] I'm

Re: [Xen-devel] [PATCH 1/2] xen/kbdif: update protocol documentation

2017-01-11 Thread Oleksandr Andrushchenko
On 01/11/2017 07:35 PM, Dario Faggioli wrote: On Tue, 2017-01-10 at 09:21 +0200, Oleksandr Andrushchenko wrote: On 01/07/2017 12:20 AM, Stefano Stabellini wrote: On Fri, 6 Jan 2017, Oleksandr Andrushchenko wrote: | reserved

Re: [Xen-devel] [PATCH 2/2] xen/kbdif: add multi-touch support

2017-01-11 Thread Oleksandr Andrushchenko
On 01/11/2017 02:29 AM, Stefano Stabellini wrote: On Tue, 10 Jan 2017, Oleksandr Andrushchenko wrote: On 01/07/2017 12:37 AM, Stefano Stabellini wrote: On Fri, 6 Jan 2017, Oleksandr Andrushchenko wrote: From: Oleksandr Andrushchenko Signed-off-by: Oleksandr Andrushchenko --- xen/include

Re: [Xen-devel] [PATCH 0/2] xen/kbdif: add multi-touch support

2017-01-11 Thread Oleksandr Andrushchenko
As agreed on PV call PFA pahole results On 01/06/2017 11:32 AM, Oleksandr Andrushchenko wrote: From: Oleksandr Andrushchenko Hi, all! This series updates existing kbdif protocol documentation and adds multi-touch support Thank you, Oleksandr Andrushchenko Oleksandr Andrushchenko (2

Re: [Xen-devel] [PATCH v15] sndif: add ABI for para-virtual sound

2017-01-11 Thread Oleksandr Andrushchenko
As agreed on PV call PFA pahole results On 12/05/2016 03:05 PM, Oleksandr Andrushchenko wrote: From: Oleksandr Andrushchenko Hi, all! Please find the next version of the ABI for the PV sound after addressing review comments. Thank you, Oleksandr Andrushchenko Oleksandr Grytsov Oleksandr

Re: [Xen-devel] [PATCH v1] displif: add ABI for para-virtual display

2017-01-11 Thread Oleksandr Andrushchenko
As agreed on PV call PFA pahole results On 12/22/2016 10:12 AM, Oleksandr Andrushchenko wrote: From: Oleksandr Andrushchenko This protocol aims to provide a unified protocol which fits more sophisticated use-cases than a framebuffer device can handle. At the moment basic functionality is

Re: [Xen-devel] [PATCH 2/2] xen/kbdif: add multi-touch support

2017-01-09 Thread Oleksandr Andrushchenko
On 01/07/2017 12:37 AM, Stefano Stabellini wrote: On Fri, 6 Jan 2017, Oleksandr Andrushchenko wrote: From: Oleksandr Andrushchenko Signed-off-by: Oleksandr Andrushchenko --- xen/include/public/io/kbdif.h | 228 ++ 1 file changed, 228 insertions

Re: [Xen-devel] [PATCH 1/2] xen/kbdif: update protocol documentation

2017-01-09 Thread Oleksandr Andrushchenko
On 01/07/2017 12:20 AM, Stefano Stabellini wrote: On Fri, 6 Jan 2017, Oleksandr Andrushchenko wrote: From: Oleksandr Andrushchenko Signed-off-by: Oleksandr Andrushchenko --- xen/include/public/io/kbdif.h | 249 +- 1 file changed, 222 insertions

[Xen-devel] [PATCH 2/2] xen/kbdif: add multi-touch support

2017-01-06 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Signed-off-by: Oleksandr Andrushchenko --- xen/include/public/io/kbdif.h | 228 ++ 1 file changed, 228 insertions(+) diff --git a/xen/include/public/io/kbdif.h b/xen/include/public/io/kbdif.h index 0e19a40..1b446f9 100644

[Xen-devel] [PATCH 1/2] xen/kbdif: update protocol documentation

2017-01-06 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Signed-off-by: Oleksandr Andrushchenko --- xen/include/public/io/kbdif.h | 249 +- 1 file changed, 222 insertions(+), 27 deletions(-) diff --git a/xen/include/public/io/kbdif.h b/xen/include/public/io/kbdif.h index 2d2aebd

[Xen-devel] [PATCH 0/2] xen/kbdif: add multi-touch support

2017-01-06 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Hi, all! This series updates existing kbdif protocol documentation and adds multi-touch support Thank you, Oleksandr Andrushchenko Oleksandr Andrushchenko (2): xen/kbdif: update protocol documentation xen/kbdif: add multi-touch support xen/include/public/io

Re: [Xen-devel] [RFC] kbdif: add multi-touch support

2017-01-05 Thread Oleksandr Andrushchenko
On 01/05/2017 09:19 PM, Stefano Stabellini wrote: On Thu, 5 Jan 2017, Oleksandr Andrushchenko wrote: On 01/04/2017 08:23 PM, Stefano Stabellini wrote: On Wed, 4 Jan 2017, Oleksandr Andrushchenko wrote: First of all, thank you for comments You are welcome :-) On 01/04/2017 03:03 AM

Re: [Xen-devel] [PATCH v1] displif: add ABI for para-virtual display

2017-01-05 Thread Oleksandr Andrushchenko
On 01/05/2017 06:12 PM, Jan Beulich wrote: On 05.01.17 at 17:03, wrote: On 01/05/2017 05:45 PM, Jan Beulich wrote: On 22.12.16 at 09:12, wrote: Other than that the primary thing I'm missing (as I think I've mentioned elsewhere already) is a rationale of why this new protocol is needed (and t

Re: [Xen-devel] [PATCH v1] displif: add ABI for para-virtual display

2017-01-05 Thread Oleksandr Andrushchenko
On 01/05/2017 05:45 PM, Jan Beulich wrote: On 22.12.16 at 09:12, wrote: +struct xendispl_pg_flip_evt { +uint64_t fb_cookie; Considering that apparently all operations have this cookie, I think it would better go ... +}; + +struct xendispl_req { +uint16_t id; +uint8_t operation; +

Re: [Xen-devel] [RFC] kbdif: add multi-touch support

2017-01-04 Thread Oleksandr Andrushchenko
On 01/04/2017 08:23 PM, Stefano Stabellini wrote: On Wed, 4 Jan 2017, Oleksandr Andrushchenko wrote: First of all, thank you for comments You are welcome :-) On 01/04/2017 03:03 AM, Stefano Stabellini wrote: On Tue, 3 Jan 2017, Oleksandr Andrushchenko wrote: From: Oleksandr Andrushchenko

Re: [Xen-devel] [PATCH v1] displif: add ABI for para-virtual display

2017-01-04 Thread Oleksandr Andrushchenko
Bug fix On 12/22/2016 10:12 AM, Oleksandr Andrushchenko wrote: From: Oleksandr Andrushchenko This is the ABI for the two halves of a para-virtualized display driver. Changes since initial: * DRM changed to DISPL, protocol made generic * major re-work addressing issues raised for sndif

Re: [Xen-devel] [DOC v2] Xen transport for 9pfs

2017-01-04 Thread Oleksandr Andrushchenko
On 12/12/2016 02:00 PM, Wei Liu wrote: On Mon, Dec 05, 2016 at 05:33:23PM -0800, Stefano Stabellini wrote: [...] ## Xenstore The frontend and the backend connect via xenstore to exchange information. The toolstack creates front and back nodes with state [XenbusStateInitialising]. The protocol n

Re: [Xen-devel] [DOC v2] Xen transport for 9pfs

2017-01-04 Thread Oleksandr Andrushchenko
If this is not too late for comments... On 12/06/2016 03:33 AM, Stefano Stabellini wrote: Changes in v2: - fix copy/paste error - rename ring-ref- to ring-ref - fix memory barriers - add "verify prod/cons against local copy" - add a paragraph on high level design - add a note on the maximum poss

Re: [Xen-devel] Xen Community Call on new PV protocols, 11th Jan 9AM PST

2017-01-04 Thread Oleksandr Andrushchenko
. Does the time and date work for you? WFM. Works for EPAM as well Thanks, Stefano P.S. Julien is CC'ed in quality of release manager ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel -- *Oleksandr Andrushc

Re: [Xen-devel] [RFC] kbdif: add multi-touch support

2017-01-03 Thread Oleksandr Andrushchenko
First of all, thank you for comments On 01/04/2017 03:03 AM, Stefano Stabellini wrote: On Tue, 3 Jan 2017, Oleksandr Andrushchenko wrote: From: Oleksandr Andrushchenko Signed-off-by: Oleksandr Andrushchenko --- xen/include/public/io/kbdif.h | 64

Re: [Xen-devel] [RFC] kbdif: add multi-touch support

2017-01-03 Thread Oleksandr Andrushchenko
On 01/03/2017 06:28 PM, Jan Beulich wrote: On 03.01.17 at 16:39, wrote: --- a/xen/include/public/io/kbdif.h +++ b/xen/include/public/io/kbdif.h @@ -45,6 +45,19 @@ */ #define XENKBD_TYPE_POS 4 +/* + * Multi-touch event + * Capable backend sets feature-multi-touch in xenstore. + * F

[Xen-devel] [RFC] kbdif: add multi-touch support

2017-01-03 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Hi, all! I am working on adding multi-touch support to the existing kbdif protocol and would like to request for comments on the below patch. The aim is to provide multi-touch support to unprivileged domains which may employ multiple virtual displays. Thus, the

[Xen-devel] [RFC] kbdif: add multi-touch support

2017-01-03 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Signed-off-by: Oleksandr Andrushchenko --- xen/include/public/io/kbdif.h | 64 +++ 1 file changed, 64 insertions(+) diff --git a/xen/include/public/io/kbdif.h b/xen/include/public/io/kbdif.h index 2d2aebd..ad94b53 100644

[Xen-devel] [PATCH v1] displif: add ABI for para-virtual display

2016-12-22 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko This is the ABI for the two halves of a para-virtualized display driver. Changes since initial: * DRM changed to DISPL, protocol made generic * major re-work addressing issues raised for sndif Signed-off-by: Oleksandr Andrushchenko Signed-off-by: Oleksandr

[Xen-devel] [PATCH v1] displif: add ABI for para-virtual display

2016-12-22 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko This protocol aims to provide a unified protocol which fits more sophisticated use-cases than a framebuffer device can handle. At the moment basic functionality is supported with the intention to extend: o multiple dynamically allocated/destroyed framebuffers o

Re: [Xen-devel] [PATCH v15] This is the ABI for the two halves of a para-virtualized sound driver to communicate with each to other.

2016-12-21 Thread Oleksandr Andrushchenko
Hi, Konrad! I see no comments for almost 3 weeks now, so probably there are no objections against this protocol. Can we please move on on this? Thank you in advance, Oleksandr On 12/08/2016 05:13 PM, Oleksandr Andrushchenko wrote: I'm just wondering if anybody had a chance to look a

Re: [Xen-devel] gnttab_end_foreign_access/unmap fails for GNTMAP_device_map?

2016-12-14 Thread Oleksandr Andrushchenko
Hi, Jan! On 12/14/2016 04:59 PM, Jan Beulich wrote: On 14.12.16 at 15:46, wrote: Hi, all! I am trying to map and then unmap grant refs in Dom0 from DomU which are used for DMA by a real device in Dom0 (x86_64). Mapping is done with GNTMAP_host_map | GNTMAP_device_map flags and device can succe

[Xen-devel] gnttab_end_foreign_access/unmap fails for GNTMAP_device_map?

2016-12-14 Thread Oleksandr Andrushchenko
Hi, all! I am trying to map and then unmap grant refs in Dom0 from DomU which are used for DMA by a real device in Dom0 (x86_64). Mapping is done with GNTMAP_host_map | GNTMAP_device_map flags and device can successfully access the pages and do DMA. The problem is I cannot unmap the buffer back:

[Xen-devel] Question on PVMMU

2016-12-12 Thread Oleksandr Andrushchenko
Hi, all! Can anyone please point me to what PVMMU is and why it is only supported for x86, but not ARM? What I am trying to do is manually balloon in/out pages allocated by my driver (with {alloc|free}_xenballooned_pages everything works just fine, but this API gives me pages, while I want to u

Re: [Xen-devel] Xen 4.9 Development Update

2016-12-09 Thread Oleksandr Andrushchenko
On 12/09/2016 03:57 PM, Pasi Kärkkäinen wrote: On Fri, Dec 09, 2016 at 02:57:04PM +0200, Oleksandr Andrushchenko wrote: Should we have a section on new PV drivers? If so, I suggest to add: - Xen transport for 9pfs - PV Calls Good idea. We could also include DRM and PV Sound (CC Oleksandr

Re: [Xen-devel] Xen 4.9 Development Update

2016-12-09 Thread Oleksandr Andrushchenko
Hi, all! On 12/09/2016 12:18 PM, Julien Grall wrote: Hi Stefano, On 08/12/16 22:00, Stefano Stabellini wrote: On Thu, 8 Dec 2016, Julien Grall wrote: This email only tracks big items for xen.git tree. Please reply for items you woulk like to see in 4.9 so that people have an idea what is goin

Re: [Xen-devel] [PATCH v15] This is the ABI for the two halves of a para-virtualized sound driver to communicate with each to other.

2016-12-08 Thread Oleksandr Andrushchenko
I'm just wondering if anybody had a chance to look at the patch... ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel

[Xen-devel] [PATCH v15] This is the ABI for the two halves of a para-virtualized sound driver to communicate with each to other.

2016-12-05 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Signed-off-by: Oleksandr Andrushchenko Signed-off-by: Oleksandr Grytsov Signed-off-by: Oleksandr Dmytryshyn Signed-off-by: Iurii Konovalenko --- Changes since v1: * removed __attribute__((__packed__)) from all structures definitions Changes since v2

[Xen-devel] [PATCH v15] sndif: add ABI for para-virtual sound

2016-12-05 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Hi, all! Please find the next version of the ABI for the PV sound after addressing review comments. Thank you, Oleksandr Andrushchenko Oleksandr Grytsov Oleksandr Andrushchenko (1): This is the ABI for the two halves of a para-virtualized sound driver

Re: [Xen-devel] XC_PAGE_SIZE or XEN_PAGE_SIZE?

2016-12-02 Thread Oleksandr Andrushchenko
On 12/02/2016 01:53 PM, Andrew Cooper wrote: On 02/12/16 11:43, Jan Beulich wrote: On 02.12.16 at 12:20, wrote: On 12/02/2016 01:03 PM, Jan Beulich wrote: On 02.12.16 at 08:49, wrote: While working on display protocol I found that there is no(?) common ???_PAGE_SIZE define I can use for bo

Re: [Xen-devel] XC_PAGE_SIZE or XEN_PAGE_SIZE?

2016-12-02 Thread Oleksandr Andrushchenko
On 12/02/2016 01:43 PM, Jan Beulich wrote: On 02.12.16 at 12:20, wrote: On 12/02/2016 01:03 PM, Jan Beulich wrote: On 02.12.16 at 08:49, wrote: While working on display protocol I found that there is no(?) common ???_PAGE_SIZE define I can use for both Xen and Linux kernel: Xen defines XC_

Re: [Xen-devel] XC_PAGE_SIZE or XEN_PAGE_SIZE?

2016-12-02 Thread Oleksandr Andrushchenko
On 12/02/2016 01:03 PM, Jan Beulich wrote: On 02.12.16 at 08:49, wrote: While working on display protocol I found that there is no(?) common ???_PAGE_SIZE define I can use for both Xen and Linux kernel: Xen defines XC_PAGE_SIZE which is also used in Linux user-space and kernel has XEN_PAGE_S

[Xen-devel] XC_PAGE_SIZE or XEN_PAGE_SIZE?

2016-12-01 Thread Oleksandr Andrushchenko
Hi, all! While working on display protocol I found that there is no(?) common ???_PAGE_SIZE define I can use for both Xen and Linux kernel: Xen defines XC_PAGE_SIZE which is also used in Linux user-space and kernel has XEN_PAGE_SIZE, but no XC_PAGE_SIZE. So, the question is which define shoul

Re: [Xen-devel] DomU application crashes while mmap'ing device memory on x86_64

2016-11-30 Thread Oleksandr Andrushchenko
Thank you for explanation, now it is clear. BTW, is PAGE_SHARED the right choice in my case or should I use something else instead? Thank you, Oleksandr On 11/30/2016 09:10 PM, Andrew Cooper wrote: On 30/11/16 19:00, Oleksandr Andrushchenko wrote: I traced the problem down to vma

Re: [Xen-devel] DomU application crashes while mmap'ing device memory on x86_64

2016-11-30 Thread Oleksandr Andrushchenko
On 11/22/2016 08:27 PM, Oleksandr Andrushchenko wrote: Hi, just wanted to bump this as I also have the same issue on real HW now (x86_64) Nov 14 10:30:18 DomU kernel: [ 1169.569936] [] xen_mc_flush+0x19c/0x1b0 Thank you in advnce, Oleksandr On Mon, Nov 14, 2016 at 6:07 PM, Oleksand

Re: [Xen-devel] [PATCH v14] This is the ABI for the two halves of a para-virtualized sound driver to communicate with each to other.

2016-11-30 Thread Oleksandr Andrushchenko
On 11/30/2016 10:45 AM, Jan Beulich wrote: On 29.11.16 at 19:44, wrote: On 11/29/2016 08:30 PM, Dario Faggioli wrote: On Tue, 2016-11-29 at 19:27 +0200, Oleksandr Andrushchenko wrote: On 11/29/2016 07:05 PM, Jan Beulich wrote: If you document it as padding, you can't easily use it lat

Re: [Xen-devel] [PATCH v14] This is the ABI for the two halves of a para-virtualized sound driver to communicate with each to other.

2016-11-29 Thread Oleksandr Andrushchenko
On 11/29/2016 08:30 PM, Dario Faggioli wrote: On Tue, 2016-11-29 at 19:27 +0200, Oleksandr Andrushchenko wrote: On 11/29/2016 07:05 PM, Jan Beulich wrote: If you document it as padding, you can't easily use it later on for some extension. Why not? I would be more careful about res

Re: [Xen-devel] [PATCH v14] This is the ABI for the two halves of a para-virtualized sound driver to communicate with each to other.

2016-11-29 Thread Oleksandr Andrushchenko
On 11/29/2016 07:05 PM, Jan Beulich wrote: On 29.11.16 at 17:55, wrote: On 11/29/2016 06:09 PM, Jan Beulich wrote: On 29.11.16 at 16:24, wrote: +struct xensnd_req { +uint16_t id; +uint8_t operation; +uint8_t stream_idx; +uint32_t reserved; +union { +struct xensnd_

Re: [Xen-devel] [PATCH v14] sndif: add ABI for para-virtual sound

2016-11-29 Thread Oleksandr Andrushchenko
On 11/29/2016 06:06 PM, Jan Beulich wrote: On 29.11.16 at 16:24, wrote: From: Oleksandr Andrushchenko Hi, all! Please find the next version of the ABI for the PV sound after addressing review comments. You've been asked before, and I feel the need to repeat: Please slow down with se

Re: [Xen-devel] [PATCH v14] This is the ABI for the two halves of a para-virtualized sound driver to communicate with each to other.

2016-11-29 Thread Oleksandr Andrushchenko
On 11/29/2016 06:09 PM, Jan Beulich wrote: On 29.11.16 at 16:24, wrote: +struct xensnd_req { +uint16_t id; +uint8_t operation; +uint8_t stream_idx; +uint32_t reserved; +union { +struct xensnd_open_req open; +struct xensnd_rw_req rw; +uint8_t padding[2

[Xen-devel] [PATCH v14] This is the ABI for the two halves of a para-virtualized sound driver to communicate with each to other.

2016-11-29 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Signed-off-by: Oleksandr Andrushchenko Signed-off-by: Oleksandr Grytsov Signed-off-by: Oleksandr Dmytryshyn Signed-off-by: Iurii Konovalenko --- Changes since v1: * removed __attribute__((__packed__)) from all structures definitions Changes since v2

[Xen-devel] [PATCH v14] sndif: add ABI for para-virtual sound

2016-11-29 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Hi, all! Please find the next version of the ABI for the PV sound after addressing review comments. Thank you, Oleksandr Andrushchenko Oleksandr Grytsov Oleksandr Andrushchenko (1): This is the ABI for the two halves of a para-virtualized sound driver

Re: [Xen-devel] [PATCH v13] This is the ABI for the two halves of a para-virtualized sound driver to communicate with each to other.

2016-11-28 Thread Oleksandr Andrushchenko
On 11/28/2016 07:12 PM, Julien Grall wrote: On 28/11/16 17:11, Andrew Cooper wrote: On 28/11/16 16:59, Julien Grall wrote: Hi, On 28/11/16 15:43, Oleksandr Andrushchenko wrote: On 11/28/2016 05:00 PM, Julien Grall wrote: Hi Oleksandr, On 28/11/16 14:56, Oleksandr Andrushchenko wrote: On

Re: [Xen-devel] [PATCH v13] This is the ABI for the two halves of a para-virtualized sound driver to communicate with each to other.

2016-11-28 Thread Oleksandr Andrushchenko
On 11/28/2016 05:00 PM, Julien Grall wrote: Hi Oleksandr, On 28/11/16 14:56, Oleksandr Andrushchenko wrote: On 11/28/2016 04:24 PM, Julien Grall wrote: Hi Oleksandr, On 28/11/16 14:12, Oleksandr Andrushchenko wrote: On 11/28/2016 03:27 PM, Jan Beulich wrote: + * + * gref_dir_next_page

Re: [Xen-devel] [PATCH v13] This is the ABI for the two halves of a para-virtualized sound driver to communicate with each to other.

2016-11-28 Thread Oleksandr Andrushchenko
On 11/28/2016 04:24 PM, Julien Grall wrote: Hi Oleksandr, On 28/11/16 14:12, Oleksandr Andrushchenko wrote: On 11/28/2016 03:27 PM, Jan Beulich wrote: + * + * gref_dir_next_page - grant_ref_t, reference to the next page describing + * page directory. Must be 0 if no more pages in the list

Re: [Xen-devel] [PATCH v13] This is the ABI for the two halves of a para-virtualized sound driver to communicate with each to other.

2016-11-28 Thread Oleksandr Andrushchenko
On 11/28/2016 03:27 PM, Jan Beulich wrote: On 28.11.16 at 13:30, wrote: + * Request open - open a PCM stream for playback or capture: + * 0 1 23 octet + * +-+-+-+-+

Re: [Xen-devel] XC_PAGE_SIZE for Linux kernel

2016-11-28 Thread Oleksandr Andrushchenko
On 11/28/2016 03:17 PM, Julien Grall wrote: On 28/11/16 12:56, Oleksandr Andrushchenko wrote: Hi, all! Hi, I cannot find any definition of XC_PAGE_SIZE for Linux kernel. Is it by intention or just missed? I am writing a PV front drivers now and forced either to define XC_PAGE_SIZE

[Xen-devel] XC_PAGE_SIZE for Linux kernel

2016-11-28 Thread Oleksandr Andrushchenko
Hi, all! I cannot find any definition of XC_PAGE_SIZE for Linux kernel. Is it by intention or just missed? I am writing a PV front drivers now and forced either to define XC_PAGE_SIZE == PAGE_SIZE or use PAGE_SIZE directly. Strictly speaking both workarounds are not correct. Thank you, Olek

[Xen-devel] [PATCH v13] This is the ABI for the two halves of a para-virtualized sound driver to communicate with each to other.

2016-11-28 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Signed-off-by: Oleksandr Andrushchenko Signed-off-by: Oleksandr Grytsov Signed-off-by: Oleksandr Dmytryshyn Signed-off-by: Iurii Konovalenko --- Changes since v1: * removed __attribute__((__packed__)) from all structures definitions Changes since v2

[Xen-devel] [PATCH v13] sndif: add ABI for para-virtual sound

2016-11-28 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Hi, all! Please find the next version of the ABI for the PV sound after addressing review comments. Thank you, Oleksandr Andrushchenko Oleksandr Grytsov Oleksandr Andrushchenko (1): This is the ABI for the two halves of a para-virtualized sound driver

Re: [Xen-devel] [PATCH v12] This is the ABI for the two halves of a para-virtualized sound driver to communicate with each to other.

2016-11-25 Thread Oleksandr Andrushchenko
On 11/25/2016 04:56 PM, Jan Beulich wrote: On 25.11.16 at 15:50, wrote: On 11/25/2016 04:45 PM, Jan Beulich wrote: On 25.11.16 at 15:27, wrote: On 11/25/2016 04:12 PM, Jan Beulich wrote: On 25.11.16 at 14:59, wrote: On 11/25/2016 02:54 PM, Jan Beulich wrote: On 25.11.16 at 12:57, wrote:

Re: [Xen-devel] [PATCH v12] This is the ABI for the two halves of a para-virtualized sound driver to communicate with each to other.

2016-11-25 Thread Oleksandr Andrushchenko
On 11/25/2016 04:45 PM, Jan Beulich wrote: On 25.11.16 at 15:27, wrote: On 11/25/2016 04:12 PM, Jan Beulich wrote: On 25.11.16 at 14:59, wrote: On 11/25/2016 02:54 PM, Jan Beulich wrote: On 25.11.16 at 12:57, wrote: +struct xensnd_page_directory { +grant_ref_t gref_dir_next_page; +

Re: [Xen-devel] [PATCH v12] This is the ABI for the two halves of a para-virtualized sound driver to communicate with each to other.

2016-11-25 Thread Oleksandr Andrushchenko
On 11/25/2016 04:12 PM, Jan Beulich wrote: On 25.11.16 at 14:59, wrote: On 11/25/2016 02:54 PM, Jan Beulich wrote: On 25.11.16 at 12:57, wrote: +struct xensnd_page_directory { +grant_ref_t gref_dir_next_page; +uint32_t num_grefs; You can't fit that many requests on one page anyway,

Re: [Xen-devel] [PATCH v12] This is the ABI for the two halves of a para-virtualized sound driver to communicate with each to other.

2016-11-25 Thread Oleksandr Andrushchenko
On 11/25/2016 02:54 PM, Jan Beulich wrote: On 25.11.16 at 12:57, wrote: + * Request open - open a PCM stream for playback or capture: + * 0 1 23 octet + * +-+-+-+-+

Re: [Xen-devel] [PATCH v12] sndif: add ABI for para-virtual sound

2016-11-25 Thread Oleksandr Andrushchenko
Andrushchenko wrote: From: Oleksandr Andrushchenko Hi, all! Please find the next version of the ABI for the PV sound after addressing review comments. Thank you, Oleksandr Andrushchenko Oleksandr Grytsov Oleksandr Andrushchenko (1): This is the ABI for the two halves of a para-virtualized

[Xen-devel] [PATCH v12] This is the ABI for the two halves of a para-virtualized sound driver to communicate with each to other.

2016-11-25 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Signed-off-by: Oleksandr Andrushchenko Signed-off-by: Oleksandr Grytsov Signed-off-by: Oleksandr Dmytryshyn Signed-off-by: Iurii Konovalenko --- Changes since v1: * removed __attribute__((__packed__)) from all structures definitions Changes since v2

[Xen-devel] [PATCH v12] sndif: add ABI for para-virtual sound

2016-11-25 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Hi, all! Please find the next version of the ABI for the PV sound after addressing review comments. Thank you, Oleksandr Andrushchenko Oleksandr Grytsov Oleksandr Andrushchenko (1): This is the ABI for the two halves of a para-virtualized sound driver

Re: [Xen-devel] [PATCH v11] xen: add para-virtual sound interface header file

2016-11-25 Thread Oleksandr Andrushchenko
On 11/25/2016 01:30 PM, Jan Beulich wrote: On 25.11.16 at 12:19, wrote: On 11/25/2016 11:18 AM, Jan Beulich wrote: On 25.11.16 at 09:03, wrote: +struct xensnd_close_req { +/* place holder, remove if changing the structure (C89 concern) */ +uint8_t __placeholder; +}; changed __placeh

Re: [Xen-devel] [PATCH v11] xen: add para-virtual sound interface header file

2016-11-25 Thread Oleksandr Andrushchenko
On 11/25/2016 11:18 AM, Jan Beulich wrote: On 25.11.16 at 09:03, wrote: +#ifndef __XEN_PUBLIC_IO_XENSND_H__ +#define __XEN_PUBLIC_IO_XENSND_H__ + +#include +#include Along with the target tree (and hence path) change, these also want to become ""-style #include-s. done +struct xensnd_ope

<    1   2   3   4   >