Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751487AbZIPETB (ORCPT ); Wed, 16 Sep 2009 00:19:01 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751306AbZIPES7 (ORCPT ); Wed, 16 Sep 2009 00:18:59 -0400 Received: from nwd2mail10.analog.com ([137.71.25.55]:44267 "EHLO nwd2mail10.analog.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751324AbZIPES6 convert rfc822-to-8bit (ORCPT ); Wed, 16 Sep 2009 00:18:58 -0400 From: "Song, Barry" X-IronPort-AV: E=Sophos;i="4.44,394,1249272000"; d="scan'208";a="4465018" X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8BIT Subject: RE: [Uclinux-dist-devel] [PATCH] input/keyboard: add ADP5588 QWERTYI2C Keyboard Input device driver Date: Wed, 16 Sep 2009 12:18:38 +0800 Message-ID: <0F1B54C89D5F954D8535DB252AF412FA04BEE48B@chinexm1.ad.analog.com> In-Reply-To: <8bd0f97a0909152103m4848fe9ayb5835a6844ea4ca1@mail.gmail.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Uclinux-dist-devel] [PATCH] input/keyboard: add ADP5588 QWERTYI2C Keyboard Input device driver Thread-Index: Aco2gwjnEZRoEu4VQ5S2mNEKD1RoGQAATJBg References: <1252966719-27557-1-git-send-email-vapier@gentoo.org> <20090915062050.GB10232@core.coreip.homeip.net><8bd0f97a0909150419p1048bfe9j243fa30a0581b198@mail.gmail.com> <20090915162655.GB29241@core.coreip.homeip.net><3c17e3570909152049nd801aeds3915e5889d6181f0@mail.gmail.com> <8bd0f97a0909152103m4848fe9ayb5835a6844ea4ca1@mail.gmail.com> To: "Mike Frysinger" , "Barry Song" <21cnbao@gmail.com> CC: "Hennerich, Michael" , "Dmitry Torokhov" , , , X-OriginalArrivalTime: 16 Sep 2009 04:18:43.0828 (UTC) FILETIME=[C726EB40:01CA3684] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2652 Lines: 60 >-----Original Message----- >From: uclinux-dist-devel-bounces@blackfin.uclinux.org >[mailto:uclinux-dist-devel-bounces@blackfin.uclinux.org] On >Behalf Of Mike Frysinger >Sent: Wednesday, September 16, 2009 12:04 PM >To: Barry Song >Cc: Hennerich, Michael; Dmitry Torokhov; >linux-kernel@vger.kernel.org; linux-input@vger.kernel.org; >uclinux-dist-devel@blackfin.uclinux.org >Subject: Re: [Uclinux-dist-devel] [PATCH] input/keyboard: add >ADP5588 QWERTYI2C Keyboard Input device driver > >On Tue, Sep 15, 2009 at 23:49, Barry Song wrote: >> On Wed, Sep 16, 2009 at 12:26 AM, Dmitry Torokhov wrote: >>> On Tue, Sep 15, 2009 at 07:19:14AM -0400, Mike Frysinger wrote: >>>> On Tue, Sep 15, 2009 at 02:20, Dmitry Torokhov wrote: >>>> > BTW, maybe you shoudl convert to threaded IRQs here? >>>> >>>> yes, after your suggestion for the previous driver, we've >been looking >>>> at all our input drivers to convert to threaded IRQs. ?do >we need to >>>> convert all of them before acceptance, or can we merge now >and post an >>>> updated patch after ? >>> >>> It really depends on the driver. If there is a race between >IRQ and the >>> WQ in the driver I will request you to fix it one way or >another before >>> accepting the driver (and quite often using threaded IRQ >gets rid of the >>> race). In the cases like this particular driver though I am not even >>> convinced that we need threaded IRQ. The driver is not expected to >>> generate lots of events rapidly so using keventd as it does now is >>> probably the best solution. >> >> Even though CONFIG_GENERIC_HARDIRQS is almost always "y", in case >> CONFIG_GENERIC_HARDIRQS is "n" not "y", threaded_irq will become >> original irq, drivers will not work. So is it necessary to check the >> dependence of GENERIC_HARDIRQS while using threaded_irq? > >when is GENERIC_HARDIRQS not "y" ? a quick check shows only s390/m68k >dont set it to "y" in their arch Kconfig ? s390 isnt going to use any >of these drivers, and m68k will eventually update (m68knommu already >has !?). SPARC32 is "n" too. I am not caring about only these several drivers. I just want to find whether that can be a generic problem while using threaded_irq in any driver. >-mike >_______________________________________________ >Uclinux-dist-devel mailing list >Uclinux-dist-devel@blackfin.uclinux.org >https://blackfin.uclinux.org/mailman/listinfo/uclinux-dist-devel > -- 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/