Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754042Ab1FEGoS (ORCPT ); Sun, 5 Jun 2011 02:44:18 -0400 Received: from cynthia.allandria.com ([76.245.85.235]:58109 "EHLO cynthia.pants.nu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753494Ab1FEGoR (ORCPT ); Sun, 5 Jun 2011 02:44:17 -0400 X-Greylist: delayed 1019 seconds by postgrey-1.27 at vger.kernel.org; Sun, 05 Jun 2011 02:44:17 EDT Date: Sat, 4 Jun 2011 23:27:02 -0700 From: Brad Boyer To: Finn Thain Cc: Geert Uytterhoeven , Linux/m68k , Thomas Gleixner , Linux Kernel Development Subject: Re: m68k: Convert to genirq (WIP) Message-ID: <20110605062702.GA2034@cynthia.pants.nu> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1746 Lines: 39 On Fri, Jun 03, 2011 at 09:20:23PM +1000, Finn Thain wrote: > On Sat, 28 May 2011, Geert Uytterhoeven wrote: > > Of course any help is welcome, especially for Mac > > What kind of help are you looking for? I read through your patch series > but I'm not sure how much work is left. Probably I need to look at a > genirq reference implementation to get an idea of the goal... If there are any good documents on genirq, I would like to look at it as well. I didn't see anything obvious in Documentation/ in the tree. > > (with its maze of interrupt controllers) > > Perhaps we do not need to model that complexity in generic irq terms? > > The mac port could probably make good use of the irq startup and shutdown > hooks though. If we could really map all the interrupt controllers, we could probably cut down on the largest interrupt number. Most Macs really only have 20 or 30 actual interrupt sources. The problem is the two or three layers of cascaded mess. None of them have just a single layer. Just getting rid of the fixed global mapping could take us down to 64 since nothing has both Baboon and PSC, but we have unique numbers for them. We have 3 whole blocks of 8 just for PSC, even though that's just in two models. We don't even know what most of those do, if anything. We would probably need to move everything to platform devices if we do that so that drivers don't need to use hard-coded interrupts. I suppose we really should do that anyway. Brad Boyer flar@allandria.com -- 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/