From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oleksandr Andrushchenko Subject: Re: [PATCH 0/2] xen/kbdif: add multi-touch support Date: Wed, 11 Jan 2017 10:01:03 +0200 Message-ID: References: <1483695173-7600-1-git-send-email-andr2000@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------A20E34CDA22C69A1CAE6AFAA" Return-path: Received: from mail6.bemta6.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cRDqF-0006px-O8 for xen-devel@lists.xenproject.org; Wed, 11 Jan 2017 08:01:07 +0000 Received: by mail-wj0-f195.google.com with SMTP id dh1so9424629wjb.3 for ; Wed, 11 Jan 2017 00:01:06 -0800 (PST) In-Reply-To: <1483695173-7600-1-git-send-email-andr2000@gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" To: xen-devel@lists.xenproject.org Cc: lars.kurth@citrix.com, sstabellini@kernel.org, vlad.babchuk@gmail.com, dario.faggioli@citrix.com, julien.grall@arm.com, andrii.anisov@gmail.com, olekstysh@gmail.com, al1img@gmail.com, JBeulich@suse.com, joculator@gmail.com List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------A20E34CDA22C69A1CAE6AFAA Content-Type: multipart/alternative; boundary="------------D09989A2CED7F278FE991392" --------------D09989A2CED7F278FE991392 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit 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): > xen/kbdif: update protocol documentation > xen/kbdif: add multi-touch support > > xen/include/public/io/kbdif.h | 477 +++++++++++++++++++++++++++++++++++++++--- > 1 file changed, 450 insertions(+), 27 deletions(-) > --------------D09989A2CED7F278FE991392 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: 7bit

As agreed on PV call PFA pahole results


On 01/06/2017 11:32 AM, Oleksandr Andrushchenko wrote:
From: Oleksandr Andrushchenko <Oleksandr_Andrushchenko@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 multi-touch support

 xen/include/public/io/kbdif.h | 477 +++++++++++++++++++++++++++++++++++++++---
 1 file changed, 450 insertions(+), 27 deletions(-)


--------------D09989A2CED7F278FE991392-- --------------A20E34CDA22C69A1CAE6AFAA Content-Type: text/x-patch; name="kbdif.diff" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="kbdif.diff" --------------A20E34CDA22C69A1CAE6AFAA Content-Type: text/plain; charset=UTF-8; name="kbdif-x32.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="kbdif-x32.txt" struct xenkbd_motion { uint8_t type; /* 0 1 */ /* XXX 3 bytes hole, try to pack */ int32_t rel_x; /* 4 4 */ int32_t rel_y; /* 8 4 */ int32_t rel_z; /* 12 4 */ /* size: 16, cachelines: 1, members: 4 */ /* sum members: 13, holes: 1, sum holes: 3 */ /* last cacheline: 16 bytes */ }; struct xenkbd_key { uint8_t type; /* 0 1 */ uint8_t pressed; /* 1 1 */ /* XXX 2 bytes hole, try to pack */ uint32_t keycode; /* 4 4 */ /* size: 8, cachelines: 1, members: 3 */ /* sum members: 6, holes: 1, sum holes: 2 */ /* last cacheline: 8 bytes */ }; struct xenkbd_position { uint8_t type; /* 0 1 */ /* XXX 3 bytes hole, try to pack */ int32_t abs_x; /* 4 4 */ int32_t abs_y; /* 8 4 */ int32_t rel_z; /* 12 4 */ /* size: 16, cachelines: 1, members: 4 */ /* sum members: 13, holes: 1, sum holes: 3 */ /* last cacheline: 16 bytes */ }; struct xenkbd_mtouch { uint8_t type; /* 0 1 */ uint8_t event_type; /* 1 1 */ uint8_t contact_id; /* 2 1 */ uint8_t reserved[5]; /* 3 5 */ union { struct { int32_t abs_x; /* 8 4 */ int32_t abs_y; /* 12 4 */ } pos; /* 8 */ struct { uint32_t major; /* 8 4 */ uint32_t minor; /* 12 4 */ } shape; /* 8 */ int16_t orientation; /* 2 */ } u; /* 8 8 */ /* size: 16, cachelines: 1, members: 5 */ /* last cacheline: 16 bytes */ }; struct xenkbd_page { uint32_t in_cons; /* 0 4 */ uint32_t in_prod; /* 4 4 */ uint32_t out_cons; /* 8 4 */ uint32_t out_prod; /* 12 4 */ /* size: 16, cachelines: 1, members: 4 */ /* last cacheline: 16 bytes */ }; --------------A20E34CDA22C69A1CAE6AFAA Content-Type: text/plain; charset=UTF-8; name="kbdif-x64.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="kbdif-x64.txt" struct xenkbd_motion { uint8_t type; /* 0 1 */ /* XXX 3 bytes hole, try to pack */ int32_t rel_x; /* 4 4 */ int32_t rel_y; /* 8 4 */ int32_t rel_z; /* 12 4 */ /* size: 16, cachelines: 1, members: 4 */ /* sum members: 13, holes: 1, sum holes: 3 */ /* last cacheline: 16 bytes */ }; struct xenkbd_key { uint8_t type; /* 0 1 */ uint8_t pressed; /* 1 1 */ /* XXX 2 bytes hole, try to pack */ uint32_t keycode; /* 4 4 */ /* size: 8, cachelines: 1, members: 3 */ /* sum members: 6, holes: 1, sum holes: 2 */ /* last cacheline: 8 bytes */ }; struct xenkbd_position { uint8_t type; /* 0 1 */ /* XXX 3 bytes hole, try to pack */ int32_t abs_x; /* 4 4 */ int32_t abs_y; /* 8 4 */ int32_t rel_z; /* 12 4 */ /* size: 16, cachelines: 1, members: 4 */ /* sum members: 13, holes: 1, sum holes: 3 */ /* last cacheline: 16 bytes */ }; struct xenkbd_mtouch { uint8_t type; /* 0 1 */ uint8_t event_type; /* 1 1 */ uint8_t contact_id; /* 2 1 */ uint8_t reserved[5]; /* 3 5 */ union { struct { int32_t abs_x; /* 8 4 */ int32_t abs_y; /* 12 4 */ } pos; /* 8 */ struct { uint32_t major; /* 8 4 */ uint32_t minor; /* 12 4 */ } shape; /* 8 */ int16_t orientation; /* 2 */ } u; /* 8 8 */ /* size: 16, cachelines: 1, members: 5 */ /* last cacheline: 16 bytes */ }; struct xenkbd_page { uint32_t in_cons; /* 0 4 */ uint32_t in_prod; /* 4 4 */ uint32_t out_cons; /* 8 4 */ uint32_t out_prod; /* 12 4 */ /* size: 16, cachelines: 1, members: 4 */ /* last cacheline: 16 bytes */ }; --------------A20E34CDA22C69A1CAE6AFAA Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVuLm9yZwpodHRwczovL2xpc3RzLnhlbi5v cmcveGVuLWRldmVsCg== --------------A20E34CDA22C69A1CAE6AFAA--