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

2017-01-31 Thread Oleksandr Andrushchenko
Konrad, would you please ack/nack the changes? Thank you, Oleksandr On 01/26/2017 09:46 AM, Oleksandr Andrushchenko wrote: From: Oleksandr Andrushchenko <oleksandr_andrushche...@epam.com> Hi, all! This series updates existing kbdif protocol documentation and adds multi-touch support

Re: [Xen-devel] Xen 4.9 Development Update

2017-01-31 Thread Oleksandr Andrushchenko
On 01/30/2017 05:33 PM, 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 going on and prioritise accordingly. == PV Drivers == * Xen transport for 9pfs - Stefano Stabellini * PV

Re: [Xen-devel] [PATCH RESEND v17] xen/sndif: Add sound-device ABI

2017-02-08 Thread Oleksandr Andrushchenko
On 02/08/2017 05:29 PM, Konrad Rzeszutek Wilk wrote: . snip.. Reviewed-by: Konrad Rzeszutek Wilk Do you want me to send v18 with the changes requested? Please wait a week for other folks to get a chance to look at this patch. May I put your "Reviewed-by: Konrad

Re: [Xen-devel] [PATCH RESEND v17] xen/sndif: Add sound-device ABI

2017-02-08 Thread Oleksandr Andrushchenko
On 02/08/2017 05:16 PM, Konrad Rzeszutek Wilk wrote: On Wed, Feb 08, 2017 at 10:48:45AM +0200, Oleksandr Andrushchenko wrote: From: Oleksandr Andrushchenko <oleksandr_andrushche...@epam.com> Add ABI for the two halves of a para-virtualized sound driver to communicate with each

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

2017-02-07 Thread Oleksandr Andrushchenko
On 02/07/2017 07:38 PM, Konrad Rzeszutek Wilk wrote: On Thu, Jan 26, 2017 at 09:46:46AM +0200, Oleksandr Andrushchenko wrote: From: Oleksandr Andrushchenko <oleksandr_andrushche...@epam.com> Reviewed-by: Stefano Stabellini <sstabell...@kernel.org> Reviewed-by: Konrad Rz

Re: [Xen-devel] Xen 4.9 Development Update

2017-02-08 Thread Oleksandr Andrushchenko
On 02/08/2017 08:17 PM, Konrad Rzeszutek Wilk wrote: On Wed, Feb 08, 2017 at 06:03:00PM +, Julien Grall wrote: (CC Konrad) Hi Oleksandr, On 31/01/17 13:51, Oleksandr Andrushchenko wrote: On 01/30/2017 05:33 PM, Julien Grall wrote: This email only tracks big items for xen.git tree

Re: [Xen-devel] Xen 4.9 Development Update

2017-02-08 Thread Oleksandr Andrushchenko
On 02/08/2017 09:29 PM, Julien Grall wrote: Hi Oleksandr, On 08/02/17 18:56, Oleksandr Andrushchenko wrote: On 02/08/2017 08:17 PM, Konrad Rzeszutek Wilk wrote: On Wed, Feb 08, 2017 at 06:03:00PM +, Julien Grall wrote: (CC Konrad) Hi Oleksandr, On 31/01/17 13:51, Oleksandr

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

2017-02-07 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko <oleksandr_andrushche...@epam.com> Multi-touch fields re-use the page that is used by the other features which means that you can interleave multi-touch, motion, and key events. Reviewed-by: Stefano Stabellini <sstabell...@kernel.org> Signed-off-b

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

2017-02-07 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko <oleksandr_andrushche...@epam.com> Update protocol documentation with better description and ASCII box notation of the structures. Add description for Xen store entries, introduce helper string constants. Reviewed-by: Stefano Stabellini <sstabell...@k

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

2017-02-07 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko <oleksandr_andrushche...@epam.com> Hi, all! This series updates existing kbdif protocol documentation and adds multi-touch support Thank you, Oleksandr Andrushchenko --- Changes since v2: * changed names of Xen store entries from mt-xxx to multi-tou

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

2017-02-08 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko <oleksandr_andrushche...@epam.com> Add 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.

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

2017-02-08 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko <oleksandr_andrushche...@epam.com> 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/i

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

2017-02-08 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko <oleksandr_andrushche...@epam.com> Add 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.

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

2017-02-08 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko <oleksandr_andrushche...@epam.com> 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/i

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

2017-02-07 Thread Oleksandr Andrushchenko
On 02/07/2017 08:48 PM, Konrad Rzeszutek Wilk wrote: On Thu, Jan 26, 2017 at 09:46:47AM +0200, Oleksandr Andrushchenko wrote: From: Oleksandr Andrushchenko <oleksandr_andrushche...@epam.com> Usually you say a bit in the description of what it does and what's its usage is. Like: "

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-02-07 Thread Oleksandr Andrushchenko
On 02/07/2017 09:16 PM, Konrad Rzeszutek Wilk wrote: On Mon, Jan 30, 2017 at 08:49:50AM +0200, Oleksandr Andrushchenko wrote: On 01/27/2017 08:57 PM, Konrad Rzeszutek Wilk wrote: On Fri, Jan 27, 2017 at 08:38:29PM +0200, Oleksandr Andrushchenko wrote: On 01/27/2017 08:13 PM, Konrad Rzeszutek

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-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-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

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

[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

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] 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

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, <andr2...@gmail.com> wrote: There is some work happening on new PV protocols: sndif [1], displif [

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]

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

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: -

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] 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

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

2017-01-27 Thread Oleksandr Andrushchenko
, once added to the actual 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, <andr2...@gmail.com> wrote: On 01/05/2017 05:45 PM, Jan Beulich wrote: On 22.12.16 at 09:12, <andr2...@gmail.com

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

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

2017-01-27 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko <oleksandr_andrushche...@epam.com> 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/i

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

2017-01-27 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko <oleksandr_andrushche...@epam.com> 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 s

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

2017-01-27 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko <oleksandr_andrushche...@epam.com> 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

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

2017-01-27 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko <oleksandr_andrushche...@epam.com> 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

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 <oleksandr_andrushche...@epam.com> This is the ABI for the two halves of a para-virtualized display driver. This protocol aims to provide a unified protocol which fit

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

2017-01-27 Thread Oleksandr Andrushchenko
PFA pahole output On 01/27/2017 03:03 PM, Oleksandr Andrushchenko wrote: From: Oleksandr Andrushchenko <oleksandr_andrushche...@epam.com> Hi, all! Please find the next version of the ABI for the PV sound after addressing review comments. Thank you, Oleksandr Andrushchenko Oleksandr G

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-27 Thread Oleksandr Andrushchenko
thank you for comments, please find answers below Can we please switch to v16 discussion as v15 vs v16 is a big change? On 01/27/2017 05:14 PM, Konrad Rzeszutek Wilk wrote: On Thu, Jan 26, 2017 at 12:02:49PM +0200, Oleksandr Andrushchenko wrote: Hi, Konrad! First of all thank you very much

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-27 Thread Oleksandr Andrushchenko
On 01/27/2017 06:36 PM, Konrad Rzeszutek Wilk wrote: On Fri, Jan 27, 2017 at 05:50:36PM +0200, Oleksandr Andrushchenko wrote: thank you for comments, please find answers below Can we please switch to v16 discussion as v15 vs v16 is a big change? This channel seemed appropiate to hash

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, <andr2...@gmail.com> wrote: On 01/05/2017 05:45 PM, Jan Beulich wrote: On 22.12.16 at 09:12,

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

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-27 Thread Oleksandr Andrushchenko
On 01/27/2017 08:13 PM, Konrad Rzeszutek Wilk wrote: .snip.. I am looking at this from FAE's or integrator's POV, when one would need FAE? Field Applications Engineer to touch different parts of the system. "/0/0/0" makes me feel sad just because either you have to keep all those numbers

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

2017-01-30 Thread Oleksandr Andrushchenko
On 01/30/2017 01:23 PM, Juergen Gross wrote: On 27/01/17 17:10, Dmitry Torokhov wrote: On January 27, 2017 12:31:19 AM PST, Juergen Gross <jgr...@suse.com> wrote: On 27/01/17 09:26, Oleksandr Andrushchenko wrote: On 01/27/2017 10:14 AM, Juergen Gross wrote: On 27/01/17 08:53, Ole

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

2017-01-30 Thread Oleksandr Andrushchenko
Stefano, does the below look like you expected? All, any comments/objections? Thank you, Oleksandr On 01/26/2017 09:46 AM, Oleksandr Andrushchenko wrote: From: Oleksandr Andrushchenko <oleksandr_andrushche...@epam.com> Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushche...

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-29 Thread Oleksandr Andrushchenko
On 01/27/2017 08:57 PM, Konrad Rzeszutek Wilk wrote: On Fri, Jan 27, 2017 at 08:38:29PM +0200, Oleksandr Andrushchenko wrote: On 01/27/2017 08:13 PM, Konrad Rzeszutek Wilk wrote: .snip.. I am looking at this from FAE's or integrator's POV, when one would need FAE? Field Applications

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

2017-01-29 Thread Oleksandr Andrushchenko
On 01/27/2017 08:48 PM, Stefano Stabellini wrote: On Fri, 27 Jan 2017, Oleksandr Andrushchenko wrote: 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

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

2017-01-25 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko <oleksandr_andrushche...@epam.com> 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 *

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

2017-01-25 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko <oleksandr_andrushche...@epam.com> Reviewed-by: Stefano Stabellini <sstabell...@kernel.org> Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushche...@epam.com> --- xen/include/public/io/kbdif.h | 248 +---

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

2017-01-25 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko <oleksandr_andrushche...@epam.com> Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushche...@epam.com> --- xen/include/public/io/kbdif.h | 210 ++ 1 file changed, 210 insertions(+) diff --git a/xen/inclu

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 <oleksandr_andrushche...@epam.com> Usually one also puts somethign in the commit description. When I applied this to me tree I got: [konrad@ch

Re: [Xen-devel] [PATCH v3] ring.h: introduce macros to handle monodirectional rings with multiple req sizes

2017-02-21 Thread Oleksandr Andrushchenko
On 02/22/2017 09:40 AM, Jan Beulich wrote: On 22.02.17 at 08:16, wrote: 3. C89 - Jan, we discussed that a bit for zero-sized arrays [2] and empty structures [3]. So, then we came to a conclusion that breakage is not acceptable, but now I see that you have changed your mind?

Re: [Xen-devel] [PATCH v3] ring.h: introduce macros to handle monodirectional rings with multiple req sizes

2017-02-21 Thread Oleksandr Andrushchenko
Hi, Stefano, Jan! 1. Stefano, are you still NOT considering adding functionality to avoid memory copying? We discussed this a little bit here [1]. 2. Will you also provide macros/inlines for fixed sized packets? So, others do not reinvent the wheel again on top of your code. 3. C89 - Jan,

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

2017-02-17 Thread Oleksandr Andrushchenko
On 02/17/2017 09:12 PM, Stefano Stabellini wrote: On Fri, 17 Feb 2017, Konrad Rzeszutek Wilk wrote: On Thu, Feb 16, 2017 at 10:36:01AM +0200, Oleksandr Andrushchenko wrote: On 02/15/2017 11:33 PM, Konrad Rzeszutek Wilk wrote: .snip.. I will define 2 sections

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

2017-02-20 Thread Oleksandr Andrushchenko
ping On 02/08/2017 04:42 PM, Konrad Rzeszutek Wilk wrote: On Wed, Feb 08, 2017 at 09:38:18AM +0200, Oleksandr Andrushchenko wrote: From: Oleksandr Andrushchenko <oleksandr_andrushche...@epam.com> Multi-touch fields re-use the page that is used by the other features which means that y

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

2017-02-17 Thread Oleksandr Andrushchenko
On 02/17/2017 06:33 PM, Konrad Rzeszutek Wilk wrote: On Thu, Feb 16, 2017 at 10:36:01AM +0200, Oleksandr Andrushchenko wrote: On 02/15/2017 11:33 PM, Konrad Rzeszutek Wilk wrote: .snip.. I will define 2 sections: *-- Connector Request Transport Parameters

Re: [Xen-devel] [PATCH v3] ring.h: introduce macros to handle monodirectional rings with multiple req sizes

2017-02-22 Thread Oleksandr Andrushchenko
Hi, Stefano! On 02/22/2017 07:10 PM, Stefano Stabellini wrote: On Wed, 22 Feb 2017, Oleksandr Andrushchenko wrote: Hi, Stefano, Jan! 1. Stefano, are you still NOT considering adding functionality to avoid memory copying? We discussed this a little bit here [1]. Hi Oleksandr, these macros

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

2017-02-14 Thread Oleksandr Andrushchenko
. Use the default as fallback only. Signed-off-by: Juergen Gross <jgr...@suse.com> Ping? --- V3: add case of late framebuffer registration (Oleksandr Andrushchenko) V2: get framebuffer resolution only if CONFIG_FB (Dmitry Torokhov) --- drivers/input/misc/xen-kbdfront.

Re: [Xen-devel] [PATCH RESEND v17] xen/sndif: Add sound-device ABI

2017-02-09 Thread Oleksandr Andrushchenko
On 02/08/2017 05:29 PM, Konrad Rzeszutek Wilk wrote: . snip.. Reviewed-by: Konrad Rzeszutek Wilk Couple of issues I found in sndif while preparing displif for review: 1. missing string constants +#define XENSND_FIELD_BE_VERSIONS"versions" +#define

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

2017-02-14 Thread Oleksandr Andrushchenko
On 02/14/2017 10:27 PM, Konrad Rzeszutek Wilk wrote: On Mon, Feb 13, 2017 at 10:50:49AM +0200, Oleksandr Andrushchenko wrote: Hi, Konrad! Thank you for reviewing this. On 02/10/2017 11:27 PM, Konrad Rzeszutek Wilk wrote: On Fri, Feb 10, 2017 at 09:29:58AM +0200, Oleksandr Andrushchenko wrote

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

2017-02-13 Thread Oleksandr Andrushchenko
Hi, Konrad! Thank you for reviewing this. On 02/10/2017 11:27 PM, Konrad Rzeszutek Wilk wrote: On Fri, Feb 10, 2017 at 09:29:58AM +0200, Oleksandr Andrushchenko wrote: From: Oleksandr Andrushchenko <oleksandr_andrushche...@epam.com> This is the ABI for the two halves of a para-virtu

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

2017-02-09 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko <oleksandr_andrushche...@epam.com> 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

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

2017-02-09 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko <oleksandr_andrushche...@epam.com> 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

Re: [Xen-devel] [PATCH RESEND v17] xen/sndif: Add sound-device ABI

2017-02-09 Thread Oleksandr Andrushchenko
On 02/09/2017 02:48 PM, Konrad Rzeszutek Wilk wrote: On February 9, 2017 3:46:10 AM EST, Oleksandr Andrushchenko <andr2...@gmail.com> wrote: On 02/08/2017 05:29 PM, Konrad Rzeszutek Wilk wrote: . snip.. Reviewed-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> Couple of is

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

2017-02-16 Thread Oleksandr Andrushchenko
On 02/15/2017 11:33 PM, Konrad Rzeszutek Wilk wrote: .snip.. I will define 2 sections: *-- Connector Request Transport Parameters --- * * ctrl-event-channel * ctrl-ring-ref * *--- Connector Event Transport Parameters

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

2017-02-15 Thread Oleksandr Andrushchenko
On 02/15/2017 05:45 PM, Konrad Rzeszutek Wilk wrote: On Wed, Feb 15, 2017 at 09:33:41AM +0200, Oleksandr Andrushchenko wrote: On 02/14/2017 10:27 PM, Konrad Rzeszutek Wilk wrote: On Mon, Feb 13, 2017 at 10:50:49AM +0200, Oleksandr Andrushchenko wrote: Hi, Konrad! Thank you for reviewing

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;

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

2017-01-19 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko <oleksandr_andrushche...@epam.com> Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushche...@epam.com> --- xen/include/public/io/kbdif.h | 248 +- 1 file changed, 221 insertions(+), 27 deletions(-) diff

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

2017-01-19 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko <oleksandr_andrushche...@epam.com> Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushche...@epam.com> --- xen/include/public/io/kbdif.h | 216 ++ 1 file changed, 216 insertions(+) diff --git a/xen/inclu

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

2017-01-19 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko <oleksandr_andrushche...@epam.com> 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

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:

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, as she

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 <oleksandr_andrushche...@epam.com> Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushche...@epam.com> --- xen/include/public/io/k

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 <oleksandr_andrushche...@epam.com> Sign

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 <oleksandr_andrushche...@epam.com> Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushche...@epam.com> --- xen/include/public/io/k

Re: [Xen-devel] Error in Xen while booting for salvator-X (M3 Board)

2017-02-27 Thread Oleksandr Andrushchenko
Hi, PFA the DTS I use for M3ULCB board On 02/27/2017 12:48 PM, Oleksandr Tyshchenko wrote: Hi. On Mon, Feb 27, 2017 at 12:29 PM, George John wrote: Hi, Thanks for the reply, I am using Linux version 4.6. The memory nodes were already squashed. When I have used a

Re: [Xen-devel] [PATCH v3] ring.h: introduce macros to handle monodirectional rings with multiple req sizes

2017-02-27 Thread Oleksandr Andrushchenko
On 02/28/2017 12:17 AM, Stefano Stabellini wrote: On Mon, 27 Feb 2017, Oleksandr Andrushchenko wrote: On 02/23/2017 08:45 PM, Stefano Stabellini wrote: On Thu, 23 Feb 2017, Oleksandr Andrushchenko wrote: Hi, Stefano! On 02/22/2017 07:10 PM, Stefano Stabellini wrote: On Wed, 22 Feb 2017

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

2017-03-01 Thread Oleksandr Andrushchenko
Hi, Konrad! On 02/17/2017 07:33 PM, Oleksandr Andrushchenko wrote: On 02/17/2017 06:33 PM, Konrad Rzeszutek Wilk wrote: On Thu, Feb 16, 2017 at 10:36:01AM +0200, Oleksandr Andrushchenko wrote: On 02/15/2017 11:33 PM, Konrad Rzeszutek Wilk wrote: .snip.. I will define 2 sections

Re: [Xen-devel] [PATCH v3] ring.h: introduce macros to handle monodirectional rings with multiple req sizes

2017-02-26 Thread Oleksandr Andrushchenko
On 02/23/2017 08:45 PM, Stefano Stabellini wrote: On Thu, 23 Feb 2017, Oleksandr Andrushchenko wrote: Hi, Stefano! On 02/22/2017 07:10 PM, Stefano Stabellini wrote: On Wed, 22 Feb 2017, Oleksandr Andrushchenko wrote: Hi, Stefano, Jan! 1. Stefano, are you still NOT considering adding

Re: [Xen-devel] __vmap multiple times same mfn

2017-03-01 Thread Oleksandr Andrushchenko
On 03/01/2017 10:22 AM, Jan Beulich wrote: On 01.03.17 at 06:39, <andr2...@gmail.com> wrote: On 02/28/2017 10:51 PM, Andrew Cooper wrote: On 28/02/17 19:50, Oleksandr Andrushchenko wrote: I have a use-case when I may need to call __vmap for kernel provided IPAs (read MFNs) whi

Re: [Xen-devel] __vmap multiple times same mfn

2017-02-28 Thread Oleksandr Andrushchenko
On 02/28/2017 10:51 PM, Andrew Cooper wrote: On 28/02/17 19:50, Oleksandr Andrushchenko wrote: Hi, all! I have a use-case when I may need to call __vmap for kernel provided IPAs (read MFNs) which may not be PAGE_SIZE aligned etc. The question is if it is safe to call __vmap multiple times

Re: [Xen-devel] [Embedded-pv-devel] [PATCH v8] sndif: add ABI for Para-virtual sound

2016-11-08 Thread Oleksandr Andrushchenko
f preparing to be pushed to the community as well). Hope you can review the changes and provide some feedback, so finally sound devices find their way in the world of Xen Best regards, Andrushchenko, Oleksandr Grytsov, Oleksandr Andrushchenko, Oleksandr (1): This is ABI for the two halves of a Para-

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

2016-11-14 Thread Oleksandr Andrushchenko
d anyone please give me any hint on what needs to be checked and how this can be resolved? Thank you, Oleksandr Andrushchenko ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel

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

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

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

[Xen-devel] [PATCH v9] xen: add para-virtual sound interface header files

2016-11-23 Thread Oleksandr Andrushchenko
This is the ABI for the two halves of a para-virtualized sound driver to communicate with each to other. Signed-off-by: Oleksandr Andrushchenko <andr2...@gmail.com> Signed-off-by: Oleksandr Grytsov <al1...@gmail.com> Signed-off-by: Oleksandr Dmytryshyn <oleksandr.dmytrys...@

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

2016-11-23 Thread Oleksandr Andrushchenko
Hi, all! First of all we would like to thank you for valuable comments! Please find the next version of the ABI for the PV sound. Thank you, Oleksandr Andrushchenko Oleksandr Grytsov Oleksandr Andrushchenko (1): xen: add para-virtual sound interface header files include/xen/interface/io

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

2016-11-24 Thread Oleksandr Andrushchenko
ere is HW available with >>>>> 128 >>>>> bytes. >>>>> >>>>> For instance on Xen ARM, all the structures are aligned to 128 bytes in >>>>> order to fit in most of cache line. Although technically it would be >>>>> possible have bigger one (see the definition of CSSIDR). >>>>> >>>> So, then I will align to 32 >>> >>> >>> >>> To confirm, you don't plan to reduce the size of the command packet to 32 >>> octet? >>> >> Well, actually this is what I was going to do... >> So, what is the correct value to be used here? > > > I don't know. What is the expected maximum size of a command? > With the current design I don't expect it to be more than 32. Actually we have already implemented a Linux PV snd driver and feel comfortable with 32. So, I would suggest we stick to 32 > Regards, > > -- > Julien Grall -- Best regards, Oleksandr Andrushchenko ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel

[Xen-devel] [PATCH] drmif: add ABI for para-virtual DRM/KMS

2016-11-24 Thread Oleksandr Andrushchenko
This is the ABI for the two halves of a para-virtualized DRM/KMS driver. Signed-off-by: Oleksandr Andrushchenko <andr2...@gmail.com> Signed-off-by: Oleksandr Grytsov <al1...@gmail.com> --- include/xen/interface/io/drmif.h | 505 + include/xen/

Re: [Xen-devel] [Embedded-pv-devel] [PATCH v9] xen: add para-virtual sound interface header files

2016-11-24 Thread Oleksandr Andrushchenko
> It is not clear to me to which field this comment applies. Is it > pcm_channels? It is for pcm_rate, fixed, thanks ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel

Re: [Xen-devel] [Embedded-pv-devel] [PATCH v9] xen: add para-virtual sound interface header files

2016-11-24 Thread Oleksandr Andrushchenko
> Any people who wants to use the PV driver for other OS than Linux will have > to do it. So, may I ask why don't you write a platform agnostic header? > > This would also make easier to share the PV driver code between different > OS. There are 2 files: sndif.h which is platform agnostic and

Re: [Xen-devel] [PATCH v9] xen: add para-virtual sound interface header files

2016-11-24 Thread Oleksandr Andrushchenko
> You still talk about "Xen headers", i.e. plural, so I don't think your > reply addresses my earlier question. IOW I continue to think there > should be only one header in the patch here. Ok, makes sense. I will create 2 patches: one for sndif.h which is a generic protocol (platform agnostic)

[Xen-devel] [PATCH] drmif: add ABI for para-virtual DRM/KMS

2016-11-24 Thread Oleksandr Andrushchenko
Hi, all! This patch adds support for para-virtualized DRM/KMS. Comments, ideas are more than welcome. With best regards, Oleksandr Andrushchenko Oleksandr Grytsov Oleksandr Andrushchenko (1): drmif: add ABI for para-virtual DRM/KMS include/xen/interface/io/drmif.h | 505

Re: [Xen-devel] [PATCH v9] xen: add para-virtual sound interface header files

2016-11-24 Thread Oleksandr Andrushchenko
etc. 2. My intention was that these files go into Linux kernel tree and the corresponding Xen headers are all under include/xen/interface/io folder. Best regards, Oleksandr Andrushchenko ___ Xen-devel mailing list Xen-devel@lists.xen.org https

Re: [Xen-devel] [Embedded-pv-devel] [PATCH] drmif: add ABI for para-virtual DRM/KMS

2016-11-24 Thread Oleksandr Andrushchenko
On 11/25/2016 09:20 AM, Jan Beulich wrote: On 24.11.16 at 23:14, <dario.faggi...@citrix.com> wrote: On Thu, 2016-11-24 at 20:31 +0200, Oleksandr Andrushchenko wrote: Hmm, I think you want a PV Linux DRM/KMS driver, but that doesn't mean you want/need a protocol by that name. The interfa

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

2016-11-25 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko <oleksandr_andrushche...@epam.com> This is the ABI for the two halves of a para-virtualized sound driver to communicate with each to other. Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushche...@epam.com> Signed-off-by: Oleksandr Grytsov <

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

2016-11-25 Thread Oleksandr Andrushchenko
On 11/25/2016 10:32 AM, Jan Beulich wrote: On 25.11.16 at 09:03, wrote: check patch says: NOTE: Whitespace errors detected. total: 19 errors, 42 warnings, 705 lines checked Presumably your primary problem here is that you're patching the wrong tree:

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

2016-11-24 Thread Oleksandr Andrushchenko
On 11/25/2016 09:11 AM, Jan Beulich wrote: On 24.11.16 at 18:11, wrote: +struct xensnd_close_req { +}; I'm afraid structures without any members aren't permitted by C89. There are 2 options I see: 1. Remove empty structures 2. Leave them in, but add a comment and add a

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

2016-11-24 Thread Oleksandr Andrushchenko
On 11/25/2016 09:14 AM, Jan Beulich wrote: On 24.11.16 at 18:25, <julien.gr...@arm.com> wrote: On 24/11/16 17:11, Oleksandr Andrushchenko wrote: That is because we want to be cache line aligned. But this is only accurate to your platform. There is HW available with 128 bytes. For in

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

2016-11-25 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko <oleksandr_andrushche...@epam.com> Hi, all! Please find the next version of the ABI for the PV sound after addressing review comments. N.B.: after changing tabs to spaces Linux kernel is now not so happy: check patch says: NOTE: Whitespace errors detected.

  1   2   3   4   >