Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759558AbbFBQ3A (ORCPT ); Tue, 2 Jun 2015 12:29:00 -0400 Received: from pandora.arm.linux.org.uk ([78.32.30.218]:60258 "EHLO pandora.arm.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932267AbbFBQ2x (ORCPT ); Tue, 2 Jun 2015 12:28:53 -0400 Date: Tue, 2 Jun 2015 17:28:31 +0100 From: Russell King - ARM Linux To: Linus Walleij Cc: Gregory Fong , "linux-gpio@vger.kernel.org" , Alexandre Courbot , bcm-kernel-feedback-list , Brian Norris , "devicetree@vger.kernel.org" , Florian Fainelli , Ian Campbell , Kumar Gala , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Mark Rutland , Pawel Moll , Rob Herring Subject: Re: [PATCH 0/3] GPIO support for BRCMSTB Message-ID: <20150602162830.GI2067@n2100.arm.linux.org.uk> References: <1430901477-10678-1-git-send-email-gregory.0xf0@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: 962 Lines: 22 On Tue, Jun 02, 2015 at 11:05:21AM +0200, Linus Walleij wrote: > ... and have the > IRQ handler return IRQ_NONE if the IRQ comes from this > bank, or IRQ_HANDLED if it has handled an IRQ from its own > space. I'm not sure that's worded correctly or not, but... fwiw, all IRQ handlers _should_ be returning IRQ_NONE if the IRQ does not belong to them whether or not they're shared handlers. That is so the kernel can detect stuck IRQs and report that fact, rather than just locking up silently. ARM CPUs make no progress when the IRQ to them is permanently asserted, so a stuck IRQ can be rather problematical. -- FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up according to speedtest.net. -- 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/