Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262164AbTFLLXj (ORCPT ); Thu, 12 Jun 2003 07:23:39 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263638AbTFLLXj (ORCPT ); Thu, 12 Jun 2003 07:23:39 -0400 Received: from dp.samba.org ([66.70.73.150]:22185 "EHLO lists.samba.org") by vger.kernel.org with ESMTP id S262164AbTFLLXi (ORCPT ); Thu, 12 Jun 2003 07:23:38 -0400 Date: Thu, 12 Jun 2003 21:34:06 +1000 From: Anton Blanchard To: linux-kernel@vger.kernel.org Subject: Re: irq consolidation Message-ID: <20030612113405.GH1195@krispykreme> References: <20030607040515.GB28914@krispykreme> <20030607044803.GE28914@krispykreme> <20030607101848.A22665@flint.arm.linux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030607101848.A22665@flint.arm.linux.org.uk> User-Agent: Mutt/1.5.4i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 972 Lines: 22 > I believe Andrey's IRQ consolidation provides a single flat IRQ > structure. Unfortunately, this doesn't reflect the reality that we > have on many ARM platforms - it remains the case that we need to > decode IRQs on a multi-level basis. Yes its still a flat structure. On ppc32/64 we offset the interrupts on the main controller to provide a space for ISA interrupts to go. Not great but it works for us. One thing Paul suggested was to have a flag to mark an interrupt as a cascade in the irq descriptor. If its set then we also provide a get_irq() method (perhaps stashed away in the ->action field). That gives us nested interrupt handling in generic code. (assuming you can partition your irq numbers somehow) Anton - 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/