Re: [Xen-devel] [PATCH v3] xen, input: add xen-kbdfront module parameter for setting resolution

2017-04-19 Thread Dmitry Torokhov
On Tue, Apr 11, 2017 at 02:30:37PM +0200, Juergen Gross wrote: > Add a parameter for setting the resolution of xen-kbdfront in order to > be able to cope with a (virtual) frame buffer of arbitrary resolution. > > While at it remove the pointless second reading of parameters from > Xenstore in the

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

2017-04-20 Thread Dmitry Torokhov
Hi Oleksandr, On Thu, Apr 13, 2017 at 02:38:04PM +0300, Oleksandr Andrushchenko wrote: > From: Oleksandr Andrushchenko > > Extend xen_kbdfront to provide multi-touch support > to unprivileged domains. > > Signed-off-by: Oleksandr Andrushchenko > --- > drivers/input/misc/xen-kbdfront.c | 142

Re: [Xen-devel] [PATCH 1/2] xen/input: use string constants from PV protocol

2017-04-20 Thread Dmitry Torokhov
On Thu, Apr 13, 2017 at 02:38:03PM +0300, Oleksandr Andrushchenko wrote: > From: Oleksandr Andrushchenko > > Xen input para-virtual protocol defines string constants > used by both back and frontend. Use those instead of > explicit strings in the frontend driver. > > Signed-off-by: Oleksandr And

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

2017-05-29 Thread Dmitry Torokhov
On Fri, Apr 21, 2017 at 09:40:36AM +0300, Oleksandr Andrushchenko wrote: > Hi, Dmitry! > > On 04/21/2017 05:10 AM, Dmitry Torokhov wrote: > >Hi Oleksandr, > > > >On Thu, Apr 13, 2017 at 02:38:04PM +0300, Oleksandr Andrushchenko wrote: > >>From: Olek

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

2017-05-30 Thread Dmitry Torokhov
On Tue, May 30, 2017 at 03:50:20PM +0300, Oleksandr Andrushchenko wrote: > Hi, Dmitry! > > On 05/30/2017 08:51 AM, Dmitry Torokhov wrote: > >On Fri, Apr 21, 2017 at 09:40:36AM +0300, Oleksandr Andrushchenko wrote: > >>Hi, Dmitry! > >> > >>On 04/21/201

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

2017-06-07 Thread Dmitry Torokhov
On Wed, May 31, 2017 at 12:06:56PM +0300, Oleksandr Andrushchenko wrote: > Hi, Dmitry! > > On 05/30/2017 07:37 PM, Dmitry Torokhov wrote: > >On Tue, May 30, 2017 at 03:50:20PM +0300, Oleksandr Andrushchenko wrote: > >>Hi, Dmitry! > >> > >>On 05/30/2017 08

Re: [Xen-devel] [PATCH] XEN/xen-kbdfront: Enable auto repeat for xen keyboard front driver

2017-08-21 Thread Dmitry Torokhov
On Mon, Aug 21, 2017 at 12:30 PM, Boris Ostrovsky wrote: > > Adding maintainer (Dmitry). I can't seem to find the original in my mailbox nor in patchwork. Can you please resend? > > > -boris > > On 08/21/2017 11:41 AM, Liang Yan wrote: > > Long pressed key could not show right in XEN vncviewer a

Re: [Xen-devel] [PATCH v2 2/5] x86: add enum for hypervisors to replace x86_hyper

2017-11-10 Thread Dmitry Torokhov
hyperv.c| 4 ++-- > arch/x86/kernel/cpu/vmware.c | 4 ++-- > arch/x86/kernel/kvm.c | 4 ++-- > arch/x86/xen/enlighten_hvm.c | 4 ++-- > arch/x86/xen/enlighten_pv.c | 4 ++-- > drivers/hv/vmbus_drv.c| 2 +- > drivers/input/mouse/vmmouse.c |

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

2017-06-21 Thread Dmitry Torokhov
On Thu, Jun 08, 2017 at 09:45:18AM +0300, Oleksandr Andrushchenko wrote: > Hi, Dmitry! > > On 06/07/2017 07:56 PM, Dmitry Torokhov wrote: > >On Wed, May 31, 2017 at 12:06:56PM +0300, Oleksandr Andrushchenko wrote: > >>Hi, Dmitry! > >> > >>On 05/30/2017 07

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

2017-06-29 Thread Dmitry Torokhov
0, 255, 0, 0); This is done automatically by input_mt_init_slots() when called with INPUT_MT_DIRECT (as in your case) or INPUT_MT_POINTER, so this can be removed as well. Does the patch below (on top of yours) work for you? Thanks. -- Dmitry Input: xen-kbdfront - MT support fixups From: Dm

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

2017-06-29 Thread Dmitry Torokhov
On June 29, 2017 11:40:30 AM PDT, Oleksandr Andrushchenko wrote: >Hi, Dmitry! > >First of all thank you for both the comments and the patch > >On 06/29/2017 11:17 AM, Dmitry Torokhov wrote: >> Hi Oleksandr, >> >> On Fri, Jun 23, 2017 at 09:09:55AM +030

Re: [Xen-devel] [PATCH v3] xen, input: add xen-kbdfront module parameter for setting resolution

2017-04-12 Thread Dmitry Torokhov
Hi Juergen, On Tue, Apr 11, 2017 at 02:30:37PM +0200, Juergen Gross wrote: > Add a parameter for setting the resolution of xen-kbdfront in order to > be able to cope with a (virtual) frame buffer of arbitrary resolution. > > While at it remove the pointless second reading of parameters from > Xen

Re: [Xen-devel] [PATCH v3] xen, input: add xen-kbdfront module parameter for setting resolution

2017-04-12 Thread Dmitry Torokhov
On Wed, Apr 12, 2017 at 06:04:30PM +0200, Juergen Gross wrote: > On 12/04/17 17:16, Dmitry Torokhov wrote: > > Hi Juergen, > > > > On Tue, Apr 11, 2017 at 02:30:37PM +0200, Juergen Gross wrote: > >> Add a parameter for setting the resolution of xen-kbdfront in order

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

2017-02-17 Thread Dmitry Torokhov
On Mon, Jan 30, 2017 at 01:27:29PM +0200, Oleksandr Andrushchenko wrote: > 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 wrote: > >>>On 27/01/17 09:26, Oleksandr Andru

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

2017-02-17 Thread Dmitry Torokhov
On Fri, Feb 17, 2017 at 10:08:58AM +0100, Juergen Gross wrote: > On 30/01/17 16:10, 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

Re: [Xen-devel] [PATCH 05/12] xen: make use of xenbus_read_unsigned() in xen-kbdfront

2016-11-08 Thread Dmitry Torokhov
the modified cases. > > Cc: dmitry.torok...@gmail.com > Cc: linux-in...@vger.kernel.org > > Signed-off-by: Juergen Gross Acked-by: Dmitry Torokhov > --- > drivers/input/misc/xen-kbdfront.c | 13 + > 1 file changed, 5 insertions(+), 8 deletions(-) >

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

2017-01-24 Thread Dmitry Torokhov
On Tue, Jan 24, 2017 at 01:09:55PM +0100, 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. > > Cc: sta...@vger.kernel.org > Signed-

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

2017-01-27 Thread Dmitry Torokhov
nt 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] [PATCH] xen-kbdfront: correct return value checks on xenbus_scanf()

2016-07-08 Thread Dmitry Torokhov
On Thu, Jul 07, 2016 at 01:53:40AM -0600, Jan Beulich wrote: > Only a positive return value indicates success. If I am reading this correctly xenbus_scanf() guarantees that it will not return 0. From include/xen/xenbus.h: /* Single read and scanf: returns -errno or num scanned if > 0. */ __scanf(

Re: [Xen-devel] [PATCH v2 4/8] xen: Use the correctly the Xen memory terminologies

2015-08-05 Thread Dmitry Torokhov
gt; > Cc: Konrad Rzeszutek Wilk > > Cc: Boris Ostrovsky > > Cc: David Vrabel > > Cc: Thomas Gleixner > > Cc: Ingo Molnar > > Cc: "H. Peter Anvin" > > Cc: x...@kernel.org > > Cc: "Roger Pau Monné" > > Cc: Dmitry Torokhov > > C