From: Oleksandr Andrushchenko Subject: Re: [PATCH v16] sndif: add ABI for para-virtual sound Date: Fri, 27 Jan 2017 15:12:46 +0200 Message-ID: References: <1485522212-9087-1-git-send-email-andr2000@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------74DA3506D19D766E5A81FB8D" Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cX6Kg-0008H8-Hy for xen-devel@lists.xenproject.org; Fri, 27 Jan 2017 13:12:50 +0000 Received: by mail-wm0-f66.google.com with SMTP id d140so58429630wmd.2 for ; Fri, 27 Jan 2017 05:12:48 -0800 (PST) In-Reply-To: <1485522212-9087-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: iurii.konovalenko@globallogic.com, vlad.babchuk@gmail.com, oleksandr.dmytryshyn@globallogic.com, Oleksandr Andrushchenko , andrii.anisov@gmail.com, olekstysh@gmail.com, al1img@gmail.com, joculator@gmail.com List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------74DA3506D19D766E5A81FB8D Content-Type: multipart/alternative; boundary="------------747D2C4D7271A2D9A96F511B" --------------747D2C4D7271A2D9A96F511B Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit PFA pahole output On 01/27/2017 03:03 PM, Oleksandr Andrushchenko wrote: > From: Oleksandr Andrushchenko > > 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/include/public/io/sndif.h | 725 ++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 725 insertions(+) > create mode 100644 xen/include/public/io/sndif.h > --------------747D2C4D7271A2D9A96F511B Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: 7bit

PFA pahole output


On 01/27/2017 03:03 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):
  xen/sndif: Add sound-device ABI

 xen/include/public/io/sndif.h | 725 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 725 insertions(+)
 create mode 100644 xen/include/public/io/sndif.h


--------------747D2C4D7271A2D9A96F511B-- --------------74DA3506D19D766E5A81FB8D Content-Type: text/x-patch; name="sndif.diff" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="sndif.diff" --------------74DA3506D19D766E5A81FB8D Content-Type: text/plain; charset=UTF-8; name="sndif-x32.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="sndif-x32.txt" 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 reserved[5]; /* 3 5 */ 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: 4 */ /* last cacheline: 32 bytes */ }; struct xensnd_resp { uint16_t id; /* 0 2 */ uint8_t operation; /* 2 1 */ uint8_t reserved; /* 3 1 */ int32_t status; /* 4 4 */ uint8_t reserved1[24]; /* 8 24 */ /* size: 32, cachelines: 1, members: 5 */ /* last cacheline: 32 bytes */ }; --------------74DA3506D19D766E5A81FB8D Content-Type: text/plain; charset=UTF-8; name="sndif-x64.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="sndif-x64.txt" 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 reserved[5]; /* 3 5 */ 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: 4 */ /* last cacheline: 32 bytes */ }; struct xensnd_resp { uint16_t id; /* 0 2 */ uint8_t operation; /* 2 1 */ uint8_t reserved; /* 3 1 */ int32_t status; /* 4 4 */ uint8_t reserved1[24]; /* 8 24 */ /* size: 32, cachelines: 1, members: 5 */ /* last cacheline: 32 bytes */ }; --------------74DA3506D19D766E5A81FB8D Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVuLm9yZwpodHRwczovL2xpc3RzLnhlbi5v cmcveGVuLWRldmVsCg== --------------74DA3506D19D766E5A81FB8D--