From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yi0-f42.google.com (mail-yi0-f42.google.com [209.85.218.42]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id 4DAA410083A for ; Fri, 30 Sep 2011 06:16:28 +1000 (EST) Received: by yib12 with SMTP id 12so918312yib.15 for ; Thu, 29 Sep 2011 13:16:25 -0700 (PDT) Sender: Grant Likely Date: Thu, 29 Sep 2011 12:27:37 -0500 From: Grant Likely To: Tabi Timur-B04825 Subject: Re: Handling multiple GPIO controllers in 8xxx GPIO driver Message-ID: <20110929172737.GF6800@ponder.secretlab.ca> References: <4E81D6C0.3010201@embedded-sol.com> <20110927182912.GA3994@ponder.secretlab.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: Cc: "linuxppc-dev@ozlabs.org" , Felix Radensky List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, Sep 28, 2011 at 08:52:30PM +0000, Tabi Timur-B04825 wrote: > On Tue, Sep 27, 2011 at 1:29 PM, Grant Likely wrote: > > > The solution is to make the gpio driver register as a regular > > interrupt handler, and not as a chained handler. > > I was wondering about that. > > What exactly is a chained handler? How is it different from a regular handler? A chained handler has an expedited path through the interrupt code for handling it (basically, it skips handling it at the parent controller and passes through to the child, but it cannot handle multiple chained children on a single irq input. g.