genirq: Generic irq chip available in git

Thomas Gleixner tglx at
Sat Apr 23 12:37:23 EDT 2011

The generic irq chip infrastructure patches are now available in

git:// irq/for-arm

The top commit is cfefd21e693dca791bf9ecfc9dd3794facad533c

Russell said, he'll pull that into his devel tree, so patches can be
applied there. SoC maintainers running their own git trees can pull it
as well so they can apply the patches for their platforms.

There is a small change in the interface vs. the previous posted

irq_setup_generic_chip() has now an additional argument to pass init
flags in. There are two flags available right now:

 * @IRQ_GC_INIT_MASK_CACHE:     Initialize the mask_cache by reading mask reg

The original code checked for the set/clr_bit functions, but with that
change it can be used for other implementations as well.

 * @IRQ_GC_INIT_NESTED_LOCK:    Set the lock class of the irqs to nested for
 *                              irq chips which need to call irq_set_wake() on
 *                              the parent irq. Usually GPIO implementations

This is for those gpio chips which all have their own gpio_lock_class
and the setter loop.

I fixed up the patches I sent out earlier. They are available from:

if you don't want to fixup the stuff yourself.

Happy Easter!


More information about the linux-arm-kernel mailing list