[PATCH] drivers: i2c: exynos5: irq spinlock rt-safe

Thomas Gleixner tglx at linutronix.de
Tue Aug 25 14:51:50 PDT 2015


On Tue, 25 Aug 2015, Anders Roxell wrote:

> The exynos5_i2c_message_start enables interrupts while holding the i2c
> lock which is sought by the irq handler. If an IRQ is received before
> this lock is released then a deadlock occurs.

That's crap. The interrupt handler runs in an irq thread as RT forces
all normal interrupts to that.

Thanks,

	tglx

 



More information about the linux-arm-kernel mailing list