Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756277AbbHYVw3 (ORCPT ); Tue, 25 Aug 2015 17:52:29 -0400 Received: from www.linutronix.de ([62.245.132.108]:52845 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751284AbbHYVw1 (ORCPT ); Tue, 25 Aug 2015 17:52:27 -0400 Date: Tue, 25 Aug 2015 23:51:50 +0200 (CEST) From: Thomas Gleixner To: Anders Roxell 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 In-Reply-To: <1440489125-20082-1-git-send-email-anders.roxell@linaro.org> Message-ID: References: <1440489125-20082-1-git-send-email-anders.roxell@linaro.org> User-Agent: Alpine 2.11 (DEB 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 602 Lines: 19 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 -- 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/