All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Campbell <Ian.Campbell@citrix.com>
To: manish jaggi <manishjaggi.oss@gmail.com>
Cc: xen-devel <xen-devel@lists.xen.org>,
	Stefano Stabellini <Stefano.Stabellini@eu.citrix.com>
Subject: Xen ARM dom0 PCI patches
Date: Wed, 29 Oct 2014 17:20:28 +0000	[thread overview]
Message-ID: <1414603228.2064.12.camel@citrix.com> (raw)

Hi Manish,

Do you have some patches which wire up the PCI related physdev
hypercalls (e.g. PHYSDEVOP_pci_device_add) ?

In the context of
http://lists.xenproject.org/archives/html/xen-devel/2014-10/msg03029.html I've concluded that the approach in the final patch wrt the interrupts-map property is wrong. Instead I would like to use PHYSDEVOP_pci_device_add to map the correct IRQ at registration time (i.e. by reading the PCI CFG PIN register, and then translating according to the spec).

However that requires the ability to go from a PCI seg+bus+devfn to a DT
node (usually this will be a mapping from seg=>root complex, but not
always). Have you implemented that bit? How did you determine the
correct mapping?

Any chance you could share an initial version of your patches? (Just the
host/dom0 side, no need for the passthrough related bits for this
particular problem)

Ian.

                 reply	other threads:[~2014-10-29 17:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1414603228.2064.12.camel@citrix.com \
    --to=ian.campbell@citrix.com \
    --cc=Stefano.Stabellini@eu.citrix.com \
    --cc=manishjaggi.oss@gmail.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.