Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1216465

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

From Anders Roxell <anders.roxell@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH] drivers: i2c: exynos5: irq spinlock rt-safe
Date 2015-08-31 23:40 +0200
Message-ID <q3EY2-36r-11@gated-at.bofh.it> (permalink)
References <q1hCz-P0-39@gated-at.bofh.it> <q1uq6-2tj-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 2015-08-25 23:51, Thomas Gleixner wrote:
> 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.

You are right, I will send a v2 with a better changelog.

Cheers,
Anders
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] drivers: i2c: exynos5: irq spinlock rt-safe Anders Roxell <anders.roxell@linaro.org> - 2015-08-25 10:20 +0200
  Re: [PATCH] drivers: i2c: exynos5: irq spinlock rt-safe Thomas Gleixner <tglx@linutronix.de> - 2015-08-26 00:00 +0200
    Re: [PATCH] drivers: i2c: exynos5: irq spinlock rt-safe Anders Roxell <anders.roxell@linaro.org> - 2015-08-31 23:40 +0200
  [PATCHv2] drivers: i2c: exynos5: irq spinlock rt-safe Anders Roxell <anders.roxell@linaro.org> - 2015-09-03 23:10 +0200
    Re: [PATCHv2] drivers: i2c: exynos5: irq spinlock rt-safe Thomas Gleixner <tglx@linutronix.de> - 2015-09-03 23:40 +0200

csiph-web