[PATCH] drivers: i2c: exynos5: irq spinlock rt-safe
From: Anders Roxell <hidden>
Date: 2015-08-31 21:31:38
Also in:
linux-i2c, linux-rt-users, linux-samsung-soc, lkml
From: Anders Roxell <hidden>
Date: 2015-08-31 21:31:38
Also in:
linux-i2c, linux-rt-users, linux-samsung-soc, lkml
On 2015-08-25 23:51, Thomas Gleixner wrote:
On Tue, 25 Aug 2015, Anders Roxell wrote:quoted
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.
You are right, I will send a v2 with a better changelog. Cheers, Anders