From: Oleksandr Andrushchenko <andr2000@gmail.com>
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
Subject: Re: [PATCH 0/2] xen/kbdif: add multi-touch support
Date: Wed, 11 Jan 2017 10:01:03 +0200 [thread overview]
Message-ID: <c47dc39a-2498-7b94-9fb6-ee0193d59314@gmail.com> (raw)
In-Reply-To: <1483695173-7600-1-git-send-email-andr2000@gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 573 bytes --]
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(-)
>
[-- Attachment #1.2: Type: text/html, Size: 1090 bytes --]
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: kbdif.diff --]
[-- Type: text/x-patch; name="kbdif.diff", Size: 0 bytes --]
[-- Attachment #3: kbdif-x32.txt --]
[-- Type: text/plain, Size: 2552 bytes --]
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 */
};
[-- Attachment #4: kbdif-x64.txt --]
[-- Type: text/plain, Size: 2552 bytes --]
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 */
};
[-- Attachment #5: Type: text/plain, Size: 127 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
prev parent reply other threads:[~2017-01-11 8:01 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-06 9:32 [PATCH 0/2] xen/kbdif: add multi-touch support Oleksandr Andrushchenko
2017-01-06 9:32 ` [PATCH 1/2] xen/kbdif: update protocol documentation Oleksandr Andrushchenko
2017-01-06 22:20 ` Stefano Stabellini
2017-01-10 7:21 ` Oleksandr Andrushchenko
2017-01-11 17:35 ` Dario Faggioli
2017-01-11 18:40 ` Oleksandr Andrushchenko
2017-01-11 22:50 ` Dario Faggioli
2017-01-12 6:36 ` Oleksandr Andrushchenko
2017-01-18 19:41 ` Oleksandr Andrushchenko
2017-01-18 20:28 ` Stefano Stabellini
2017-01-06 9:32 ` [PATCH 2/2] xen/kbdif: add multi-touch support Oleksandr Andrushchenko
2017-01-06 22:37 ` Stefano Stabellini
2017-01-10 7:53 ` Oleksandr Andrushchenko
2017-01-11 0:29 ` Stefano Stabellini
2017-01-11 9:32 ` Oleksandr Andrushchenko
2017-01-19 22:10 ` Stefano Stabellini
2017-01-11 8:01 ` Oleksandr Andrushchenko [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c47dc39a-2498-7b94-9fb6-ee0193d59314@gmail.com \
--to=andr2000@gmail.com \
--cc=JBeulich@suse.com \
--cc=al1img@gmail.com \
--cc=andrii.anisov@gmail.com \
--cc=dario.faggioli@citrix.com \
--cc=joculator@gmail.com \
--cc=julien.grall@arm.com \
--cc=lars.kurth@citrix.com \
--cc=olekstysh@gmail.com \
--cc=sstabellini@kernel.org \
--cc=vlad.babchuk@gmail.com \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).