Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753526AbbHaVbi (ORCPT ); Mon, 31 Aug 2015 17:31:38 -0400 Received: from mail-la0-f50.google.com ([209.85.215.50]:36509 "EHLO mail-la0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752830AbbHaVbf (ORCPT ); Mon, 31 Aug 2015 17:31:35 -0400 Date: Mon, 31 Aug 2015 23:28:44 +0200 From: Anders Roxell To: Thomas Gleixner 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 Message-ID: <20150831212844.GI13774@localhost.localdomain> References: <1440489125-20082-1-git-send-email-anders.roxell@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 717 Lines: 19 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/