[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 5/5] xen: arm: handle PCI DT node ranges and interrupt-map properties



On Wed, 2015-02-18 at 15:31 +0000, Julien Grall wrote:

> > Either soc has a device_type property which we understand, in which case
> > we would handle it and stop recursing or (more likely for an soc) it
> > does not, in which case we would handle the pcie ranges property, but it
> > needs to be translated through the ranges property of soc, which the
> > patch doesn't do and probably it should.
> 
> The code to do it is quite complicate and hard to maintain (actually 
> it's a copy of the Linux one). It would be good if you can re-use the 
> functions to translate in common/device_tree.c.

Of course.

> I think we may have the same problem for interrupts too.

Yes. In that case ISTR the existing functions needed an SBDF, so weren't
quite right for the "up front mapping" approach -- but that can surely
be fixed via some refactoring.

Ian.


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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.