All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Jan Beulich" <JBeulich@suse.com>
To: Manish Jaggi <mjaggi@caviumnetworks.com>
Cc: "Prasun.kapoor@cavium.com" <Prasun.kapoor@cavium.com>,
	Ian Campbell <Ian.Campbell@citrix.com>,
	Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
	Vijaya Kumar <Vijaya.Kumar@caviumnetworks.com>,
	Julien Grall <julien.grall@linaro.org>,
	xen Devel <xen-devel@lists.xen.org>
Subject: Re: [PATCH 0/2] Re-factoring passthrough/pci.c and adding place-holder code for ARM/PCI
Date: Tue, 14 Apr 2015 10:07:56 +0100	[thread overview]
Message-ID: <552CF50C0200007800071C47@mail.emea.novell.com> (raw)
In-Reply-To: <552B724A.8080400@caviumnetworks.com>

>>> On 13.04.15 at 09:37, <mjaggi@caviumnetworks.com> wrote:
> Xen currently does not have PCI support for ARM builds. This patch set
> makes the code compilable for ARM PCI and adds places-holder code
> which would be replaced with PCI pass-through support patch series.
> 
> Re-factor MSI Handling
> -------------
> There is a some x86 specific code which is found in common code:
> xen/drivers/passthrough/pci.c which needs to be re factored.
> 
> MSI/X are configured and handled by dom0 or domU code on ARM64 and is not
> required to be part of common code. However there are functions which are
> used as part of common code and calls to these functions cannot be easily
> re factored like pci_cleanup_msi.

I can only second Julien's reply here: Without explanation (here,
not by reference to some past discussion) how you envision MSI
to work securely when you leave control of it to DomU-s there's
very little point in separating out MSI from PCI code.

Also please make sure you Cc all involved maintainers especially
on non- trivial and potentially controversial patches like these.

Jan

  parent reply	other threads:[~2015-04-14  9:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-13  7:37 [PATCH 0/2] Re-factoring passthrough/pci.c and adding place-holder code for ARM/PCI Manish Jaggi
2015-04-13 10:19 ` Julien Grall
2015-04-13 10:21   ` Julien Grall
2015-04-14  1:12   ` Jaggi, Manish
2015-04-14  9:34     ` Stefano Stabellini
2015-04-16 15:28       ` Ian Campbell
2015-04-14  9:07 ` Jan Beulich [this message]
2015-04-16 15:27 ` Ian Campbell

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=552CF50C0200007800071C47@mail.emea.novell.com \
    --to=jbeulich@suse.com \
    --cc=Ian.Campbell@citrix.com \
    --cc=Prasun.kapoor@cavium.com \
    --cc=Vijaya.Kumar@caviumnetworks.com \
    --cc=julien.grall@linaro.org \
    --cc=mjaggi@caviumnetworks.com \
    --cc=stefano.stabellini@eu.citrix.com \
    --cc=xen-devel@lists.xen.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.