public inbox for linux-rt-users@vger.kernel.org
 help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@linutronix.de>
To: Anders Roxell <anders.roxell@linaro.org>
Cc: kgene@kernel.org, k.kozlowski@samsung.com, wsa@the-dreams.de,
	ch.naveen@samsung.com, linux-i2c@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org,
	khilman@linaro.org, linux-rt-users@vger.kernel.org
Subject: Re: [PATCH] drivers: i2c: exynos5: irq spinlock rt-safe
Date: Tue, 25 Aug 2015 23:51:50 +0200 (CEST)	[thread overview]
Message-ID: <alpine.DEB.2.11.1508252349070.15006@nanos> (raw)
In-Reply-To: <1440489125-20082-1-git-send-email-anders.roxell@linaro.org>

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

 

  reply	other threads:[~2015-08-25 21:51 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 [this message]
2015-08-31 21:28   ` Anders Roxell
2015-09-03 21:06 ` [PATCHv2] " Anders Roxell
     [not found]   ` <1441314363-9836-1-git-send-email-anders.roxell-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
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=alpine.DEB.2.11.1508252349070.15006@nanos \
    --to=tglx@linutronix.de \
    --cc=anders.roxell@linaro.org \
    --cc=ch.naveen@samsung.com \
    --cc=k.kozlowski@samsung.com \
    --cc=kgene@kernel.org \
    --cc=khilman@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-i2c@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=wsa@the-dreams.de \
    /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