[PATCH v4] of/irq: introduce of_irq_init

Grant Likely grant.likely at secretlab.ca
Tue Sep 27 17:24:42 EDT 2011

On Tue, Sep 27, 2011 at 7:03 AM, Rob Herring <robherring2 at gmail.com> wrote:
> Grant,
> On 09/26/2011 08:53 PM, Grant Likely wrote:
>> On Mon, Sep 26, 2011 at 02:24:43PM -0500, Rob Herring wrote:
>>> From: Rob Herring <rob.herring at calxeda.com>
>>> of_irq_init will scan the devicetree for matching interrupt controller
>>> nodes. Then it calls an initialization function for each found controller
>>> in the proper order with parent nodes initialized before child nodes.
>>> Based on initial pseudo code from Grant Likely.
>>> Changes in v4:
>>> - Drop unnecessary empty list check
>>> - Be more verbose on errors
>>> - Simplify "if (!desc) WARN_ON(1)" to "if (WARN_ON(!desc))"
>>> Changes in v3:
>>> - add missing kfree's found by Jamie
>>> - Implement Grant's comments to simplify the init loop
>>> - fix function comments
>>> Changes in v2:
>>> - Complete re-write of list searching code from Grant Likely
>>> Signed-off-by: Rob Herring <rob.herring at calxeda.com>
>>> Cc: Grant Likely <grant.likely at secretlab.ca>
>> Looks good to me.  Merged.
> I'm dependent on this and things in rmk's tree for initial highbank
> support, so should this series go in thru arm-soc tree? Several others
> are dependent on this as well.

Sure, it can go in via arm-soc.  I don't have anything depending on it
in mine.  Add my acked-by.


More information about the linux-arm-kernel mailing list