From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Likely Subject: Re: [PATCH 5/5] ARM: gic: add OF based initialization Date: Sun, 18 Sep 2011 00:21:44 -0600 Message-ID: <20110918062144.GF3523@ponder.secretlab.ca> References: <1316017900-19918-1-git-send-email-robherring2@gmail.com> <1316017900-19918-6-git-send-email-robherring2@gmail.com> <4E71CE5D.9030900@ti.com> <20110916160939.GA2100@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20110916160939.GA2100-5wv7dgnIgG8@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org To: Dave Martin Cc: "devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org" , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Rob Herring , "linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org" List-Id: devicetree@vger.kernel.org On Fri, Sep 16, 2011 at 05:09:39PM +0100, Dave Martin wrote: > For now, we express the mapping by putting an interrupt-map in the > core-tile DT, but this feels inelegant as well as wasteful -- expressing > "+ 32" using a table which is about 1K in size and duplicates that > information 43 times. > > Using a dedicated irq domain or a fake interrupt controller node to > encapsulate the motherboard interrupts feels like a cleaner approach, > but for now I'm not clear on the best way to do it. An irq nexus node would indeed be something to investigate for your particular case. Look for examples of interrupt-map. It is most often used for handling IRQ swizzling on PCI busses. g.