xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Oleksandr Andrushchenko <andr2000@gmail.com>
To: xen-devel@lists.xenproject.org
Cc: lars.kurth@citrix.com, iurii.konovalenko@globallogic.com,
	vlad.babchuk@gmail.com, ian.jackson@eu.citrix.com,
	dario.faggioli@citrix.com, tim@xen.org, julien.grall@arm.com,
	andrii.anisov@gmail.com, olekstysh@gmail.com,
	embedded-pv-devel@lists.xenproject.org, al1img@gmail.com,
	david.vrabel@citrix.com, JBeulich@suse.com,
	oleksandr.dmytryshyn@globallogic.com, joculator@gmail.com
Subject: Re: [PATCH v15] sndif: add ABI for para-virtual sound
Date: Wed, 11 Jan 2017 10:00:32 +0200	[thread overview]
Message-ID: <936ccce1-49e6-14f2-b82a-4a27fd683d3e@gmail.com> (raw)
In-Reply-To: <1480943129-20524-1-git-send-email-andr2000@gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 668 bytes --]

As agreed on PV call PFA pahole results


On 12/05/2016 03:05 PM, Oleksandr Andrushchenko wrote:
> From: Oleksandr Andrushchenko <Oleksandr_Andrushchenko@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):
>    This is the ABI for the two halves of a para-virtualized     sound
>      driver to communicate with each to other.
>
>   xen/include/public/io/sndif.h | 671 ++++++++++++++++++++++++++++++++++++++++++
>   1 file changed, 671 insertions(+)
>   create mode 100644 xen/include/public/io/sndif.h
>


[-- Attachment #1.2: Type: text/html, Size: 1181 bytes --]

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: sndif.diff --]
[-- Type: text/x-patch; name="sndif.diff", Size: 0 bytes --]



[-- Attachment #3: sndif-x32.txt --]
[-- Type: text/plain, Size: 2063 bytes --]

struct xensnd_open_req {
	uint32_t                   pcm_rate;             /*     0     4 */
	uint8_t                    pcm_format;           /*     4     1 */
	uint8_t                    pcm_channels;         /*     5     1 */
	uint16_t                   reserved;             /*     6     2 */
	uint32_t                   buffer_sz;            /*     8     4 */
	grant_ref_t                gref_directory_start; /*    12     4 */

	/* size: 16, cachelines: 1, members: 6 */
	/* last cacheline: 16 bytes */
};
struct xensnd_page_directory {
	grant_ref_t                gref_dir_next_page;   /*     0     4 */
	grant_ref_t                gref[1];              /*     4     4 */

	/* size: 8, cachelines: 1, members: 2 */
	/* last cacheline: 8 bytes */
};
struct xensnd_rw_req {
	uint32_t                   offset;               /*     0     4 */
	uint32_t                   len;                  /*     4     4 */

	/* size: 8, cachelines: 1, members: 2 */
	/* last cacheline: 8 bytes */
};
struct xensnd_req {
	uint16_t                   id;                   /*     0     2 */
	uint8_t                    operation;            /*     2     1 */
	uint8_t                    stream_idx;           /*     3     1 */
	uint32_t                   reserved;             /*     4     4 */
	union {
		struct xensnd_open_req open;             /*          16 */
		struct xensnd_rw_req rw;                 /*           8 */
		uint8_t            reserved[24];         /*          24 */
	} op;                                            /*     8    24 */

	/* size: 32, cachelines: 1, members: 5 */
	/* last cacheline: 32 bytes */
};
struct xensnd_resp {
	uint16_t                   id;                   /*     0     2 */
	uint8_t                    operation;            /*     2     1 */
	uint8_t                    stream_idx;           /*     3     1 */
	int8_t                     status;               /*     4     1 */
	uint8_t                    reserved[27];         /*     5    27 */

	/* size: 32, cachelines: 1, members: 5 */
	/* last cacheline: 32 bytes */
};

[-- Attachment #4: sndif-x64.txt --]
[-- Type: text/plain, Size: 2063 bytes --]

struct xensnd_open_req {
	uint32_t                   pcm_rate;             /*     0     4 */
	uint8_t                    pcm_format;           /*     4     1 */
	uint8_t                    pcm_channels;         /*     5     1 */
	uint16_t                   reserved;             /*     6     2 */
	uint32_t                   buffer_sz;            /*     8     4 */
	grant_ref_t                gref_directory_start; /*    12     4 */

	/* size: 16, cachelines: 1, members: 6 */
	/* last cacheline: 16 bytes */
};
struct xensnd_page_directory {
	grant_ref_t                gref_dir_next_page;   /*     0     4 */
	grant_ref_t                gref[1];              /*     4     4 */

	/* size: 8, cachelines: 1, members: 2 */
	/* last cacheline: 8 bytes */
};
struct xensnd_rw_req {
	uint32_t                   offset;               /*     0     4 */
	uint32_t                   len;                  /*     4     4 */

	/* size: 8, cachelines: 1, members: 2 */
	/* last cacheline: 8 bytes */
};
struct xensnd_req {
	uint16_t                   id;                   /*     0     2 */
	uint8_t                    operation;            /*     2     1 */
	uint8_t                    stream_idx;           /*     3     1 */
	uint32_t                   reserved;             /*     4     4 */
	union {
		struct xensnd_open_req open;             /*          16 */
		struct xensnd_rw_req rw;                 /*           8 */
		uint8_t            reserved[24];         /*          24 */
	} op;                                            /*     8    24 */

	/* size: 32, cachelines: 1, members: 5 */
	/* last cacheline: 32 bytes */
};
struct xensnd_resp {
	uint16_t                   id;                   /*     0     2 */
	uint8_t                    operation;            /*     2     1 */
	uint8_t                    stream_idx;           /*     3     1 */
	int8_t                     status;               /*     4     1 */
	uint8_t                    reserved[27];         /*     5    27 */

	/* size: 32, cachelines: 1, members: 5 */
	/* last cacheline: 32 bytes */
};

[-- Attachment #5: Type: text/plain, Size: 127 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

      parent reply	other threads:[~2017-01-11  8:00 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-05 13:05 [PATCH v15] sndif: add ABI for para-virtual sound Oleksandr Andrushchenko
2016-12-05 13:05 ` [PATCH v15] This is the ABI for the two halves of a para-virtualized sound driver to communicate with each to other Oleksandr Andrushchenko
2016-12-08 15:13   ` Oleksandr Andrushchenko
2016-12-22  7:21     ` Oleksandr Andrushchenko
2016-12-22 13:00       ` Konrad Rzeszutek Wilk
2017-01-24 19:13   ` Konrad Rzeszutek Wilk
2017-01-26 10:02     ` Oleksandr Andrushchenko
2017-01-26 11:09       ` Dario Faggioli
2017-01-26 11:23         ` Oleksandr Andrushchenko
2017-01-26 11:54           ` Dario Faggioli
2017-01-26 12:22             ` Oleksandr Andrushchenko
2017-01-27 14:52         ` Konrad Rzeszutek Wilk
2017-01-27 15:14       ` Konrad Rzeszutek Wilk
2017-01-27 15:50         ` Oleksandr Andrushchenko
2017-01-27 16:36           ` Konrad Rzeszutek Wilk
2017-01-27 17:13             ` Oleksandr Andrushchenko
2017-01-27 18:13               ` Konrad Rzeszutek Wilk
2017-01-27 18:38                 ` Oleksandr Andrushchenko
2017-01-27 18:57                   ` Konrad Rzeszutek Wilk
2017-01-30  6:49                     ` Oleksandr Andrushchenko
2017-02-07 19:16                       ` Konrad Rzeszutek Wilk
2017-02-07 19:22                         ` Oleksandr Andrushchenko
2017-01-11  8:00 ` 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=936ccce1-49e6-14f2-b82a-4a27fd683d3e@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=david.vrabel@citrix.com \
    --cc=embedded-pv-devel@lists.xenproject.org \
    --cc=ian.jackson@eu.citrix.com \
    --cc=iurii.konovalenko@globallogic.com \
    --cc=joculator@gmail.com \
    --cc=julien.grall@arm.com \
    --cc=lars.kurth@citrix.com \
    --cc=oleksandr.dmytryshyn@globallogic.com \
    --cc=olekstysh@gmail.com \
    --cc=tim@xen.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).