[PATCH] arm: plat-mxc: Add missing lockdep annotation

Baruch Siach baruch at tkos.co.il
Mon Apr 4 10:08:12 EDT 2011


Hi Thomas,

On Mon, Apr 04, 2011 at 02:29:58PM +0200, Thomas Gleixner wrote:
> The irq_set_wake() function of the gpio irq_chip calls
> enable/disable_irq_wake() on the demultiplex interrupt. That leads to
> a lockdep warning "INFO: possible recursive locking detected" because
> irq_set_type() is called under irq_desc->lock and the *_irq_wake()
> calls take irq_desc->lock of the demux interrupt.
> 
> Tell lockdep that the gpio irqs are in a different lock class.

Does the PL061 driver (drivers/gpio/pl061.c) need the same treatment?

baruch

-- 
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -



More information about the linux-arm-kernel mailing list