* Xen ARM dom0 PCI patches
@ 2014-10-29 17:20 Ian Campbell
0 siblings, 0 replies; only message in thread
From: Ian Campbell @ 2014-10-29 17:20 UTC (permalink / raw)
To: manish jaggi; +Cc: xen-devel, Stefano Stabellini
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.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-10-29 17:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-29 17:20 Xen ARM dom0 PCI patches Ian Campbell
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.