Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752753AbbEGHB5 (ORCPT ); Thu, 7 May 2015 03:01:57 -0400 Received: from mail-wi0-f176.google.com ([209.85.212.176]:38395 "EHLO mail-wi0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751096AbbEGHBy (ORCPT ); Thu, 7 May 2015 03:01:54 -0400 Date: Thu, 7 May 2015 08:01:49 +0100 From: Lee Jones To: York Sun Cc: Julia.Lawall@lip6.fr, linux-i2c@vger.kernel.org, wolfram@the-dreams.de, linux-kernel@vger.kernel.org Subject: Re: Why isn't IRQ shared for i2c-ocore Message-ID: <20150507070149.GB3400@x1> References: <55304D8E.8070204@freescale.com> <55312AF7.7070504@freescale.com> <20150420064231.GE3447@x1> <55352839.70905@freescale.com> <20150420181651.GF3447@x1> <5535460B.2060309@freescale.com> <20150421073534.GK3447@x1> <554A8A8B.1020703@freescale.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <554A8A8B.1020703@freescale.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 987 Lines: 24 > I have a follow up question regarding interrupt. I see many I2C bus drivers > request interrupt with flag = 0. Why not using IRQF_SHARED? Probably because that particular IRQ is only used by the I2C Controller. I'm not exactly sure that you're getting at? Why do you think it should be shared? You should only flag it as shared if it is. > I understand the performance concern. If there is any other reason, I want to > know about it before I go too far on my driver. This sort of stuff is trivial to fix and shouldn't stand in the way of you writing and submitting v1 of your driver. -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog -- 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/