public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: anders.roxell@linaro.org (Anders Roxell)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] drivers: i2c: exynos5: irq spinlock rt-safe
Date: Mon, 31 Aug 2015 23:28:44 +0200	[thread overview]
Message-ID: <20150831212844.GI13774@localhost.localdomain> (raw)
In-Reply-To: <alpine.DEB.2.11.1508252349070.15006@nanos>

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

  reply	other threads:[~2015-08-31 21:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-25  7:52 [PATCH] drivers: i2c: exynos5: irq spinlock rt-safe Anders Roxell
2015-08-25 21:51 ` Thomas Gleixner
2015-08-31 21:28   ` Anders Roxell [this message]
2015-09-03 21:06 ` [PATCHv2] " Anders Roxell
2015-09-03 21:31   ` Thomas Gleixner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150831212844.GI13774@localhost.localdomain \
    --to=anders.roxell@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox