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

Re: [Xen-devel] [PATCH] xen: arm: X-Gene Storm check GIC DIST address for EOI quirk



On Tue, 2015-04-07 at 11:29 +0100, Julien Grall wrote:
> >> This would avoid to have this loop and rely on there is always only one
> >> interrupt controller in the DT.
> >
> > That is true, however we do know that on this SoC there is only one GIC,
> > so it might be acceptable to rely on this knowledge: this is already
> > very platform specific code.
> 
> If we keep the loop, I would add a comment on the above the loop 
> explaining that we rely on there is always only GIC.
> 
> Although, I was wondering if we could simply rely on the node path to 
> get the DT node?

If we know that all $OLD firmwares used the same path (or small set of
paths) then that could work.

Or the loop could be replaced with dt_find_interrupt_controller, passing
the known compatible value for the systems in question.

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®.