All of lore.kernel.org
 help / color / mirror / Atom feed
From: Oleksandr Andrushchenko <andr2000@gmail.com>
To: Julien Grall <julien.grall@arm.com>
Cc: "Lars Kurth" <lars.kurth@citrix.com>,
	"Iurii Konovalenko" <iurii.konovalenko@globallogic.com>,
	"Volodymyr Babchuk" <vlad.babchuk@gmail.com>,
	ian.jackson@eu.citrix.com,
	"Dario Faggioli" <dario.faggioli@citrix.com>,
	"Tim Deegan" <tim@xen.org>,
	"Andrii Anisov" <andrii.anisov@gmail.com>,
	"Oleksandr Tyshchenko" <olekstysh@gmail.com>,
	embedded-pv-devel <embedded-pv-devel@lists.xenproject.org>,
	"Грицов Олександр" <al1img@gmail.com>,
	"David Vrabel" <david.vrabel@citrix.com>,
	"Jan Beulich" <JBeulich@suse.com>,
	xen-devel <xen-devel@lists.xenproject.org>,
	"Oleksandr Dmytryshyn" <oleksandr.dmytryshyn@globallogic.com>,
	"Mygaiev Artem" <joculator@gmail.com>
Subject: Re: [Embedded-pv-devel] [PATCH v9] xen: add para-virtual sound interface header files
Date: Thu, 24 Nov 2016 16:28:40 +0200	[thread overview]
Message-ID: <CANY+8deqPDotWWn3FppFDq55jyJjh5=HCWyMU8CG+w2R974dxg@mail.gmail.com> (raw)
In-Reply-To: <2171baff-7cc7-2c40-2715-68bfc473c6ad@arm.com>

> I don't consider sndif.h been agnostic. It is just a bunch of array
> definition.
>
I am not sure I'm following you here.
sndif.h doesn't have any platform specific definitions, but sndif_linux.h does.
Both don't define any methods, but only structures (and __packed as of now).
>Each OS would have to implement their own headers in order to
> easily access command fields.
This is what I did for Linux, the result is sndif_linux.h
> All the other PV protocols are able to define structure that are platform
> agnostic. I would like to understand why you cannot do this here.
>
> Not mentioning that using __packed is usually a bad idea because it can
> mess-up with the natural alignment of the fields and makes the programmer's
> life more miserable (see an example in drm PV drivers).
I need some more time for that

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

  reply	other threads:[~2016-11-24 14:28 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-23 16:38 [PATCH v9] sndif: add ABI for para-virtual sound Oleksandr Andrushchenko
2016-11-23 16:38 ` [PATCH v9] xen: add para-virtual sound interface header files Oleksandr Andrushchenko
2016-11-24 10:58   ` Jan Beulich
2016-11-24 11:49     ` Oleksandr Andrushchenko
2016-11-24 12:15       ` Jan Beulich
2016-11-24 12:52         ` Oleksandr Andrushchenko
2016-11-24 13:02           ` Jan Beulich
2016-11-24 12:15       ` [Embedded-pv-devel] " Julien Grall
2016-11-24 12:53         ` Oleksandr Andrushchenko
2016-11-24 13:00           ` Julien Grall
2016-11-24 14:28             ` Oleksandr Andrushchenko [this message]
2016-11-24 13:04           ` Jan Beulich
2016-11-24 13:18             ` Artem Mygaiev
2016-11-24 13:31               ` Jan Beulich
2016-11-24 14:58                 ` Artem Mygaiev
2016-11-24 15:09                   ` Julien Grall
2016-11-24 15:50                     ` Artem Mygaiev
2016-11-24 16:08                       ` Julien Grall
2016-11-24 16:29                         ` Artem Mygaiev
2016-11-24 15:11                   ` Jan Beulich
2016-11-24 15:29                   ` Oleksandr Andrushchenko
2016-11-24 12:13   ` Julien Grall
2016-11-24 12:35     ` Oleksandr Andrushchenko

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='CANY+8deqPDotWWn3FppFDq55jyJjh5=HCWyMU8CG+w2R974dxg@mail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.