All of lore.kernel.org
 help / color / mirror / Atom feed
* Few Comments on the Xen SMMU ARM code
@ 2014-12-11  2:39 manish jaggi
  2014-12-11 10:20 ` Julien Grall
  2014-12-11 10:30 ` Stefano Stabellini
  0 siblings, 2 replies; 6+ messages in thread
From: manish jaggi @ 2014-12-11  2:39 UTC (permalink / raw)
  To: Julien Grall, xen-devel, Stefano Stabellini, manish.jaggi

Based on my experience with PCI passthrough code merging, below are
some comments:
Both require a change in code

a) The current code which is non-pci passthrough requires a devices'
device tree node to be associated with smmu node, if that device has
to be assigned to domU.

In our system there is no platform device which can be passthough. All
devices (including uart) are enumerated using PCI enumeration.
So the device tree looks like

pcie0 {
}

smmu {
mmu-masters = <&pcie0 0x100>;
}

When dom0 boots pcie is assigned to dom0 and a stream ID 0x100 is
created which later conflicts with a valid device enumerated later

b) Current xen code and linux code used rb_tree with key as dt_node to
locate a device and its smmu. With an enumerated device there is no
such thing. So this would not work.


I need your views how PCI passthrough / Non PCI passthrough code can
coexist with the two points mentioned above ?


-Regards
Manish

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-12-12 11:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-11  2:39 Few Comments on the Xen SMMU ARM code manish jaggi
2014-12-11 10:20 ` Julien Grall
2014-12-11 10:30 ` Stefano Stabellini
2014-12-11 18:02   ` manish jaggi
2014-12-11 19:10     ` Julien Grall
2014-12-12 11:14     ` 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.