Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751981AbXBRUCj (ORCPT ); Sun, 18 Feb 2007 15:02:39 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751980AbXBRUCj (ORCPT ); Sun, 18 Feb 2007 15:02:39 -0500 Received: from gate.crashing.org ([63.228.1.57]:60098 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751976AbXBRUCi (ORCPT ); Sun, 18 Feb 2007 15:02:38 -0500 Subject: Re: [RFC] killing the NR_IRQS arrays. From: Benjamin Herrenschmidt To: "Eric W. Biederman" Cc: Arnd Bergmann , Russell King , linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, Linus Torvalds , Andrew Morton , Andi Kleen , Ingo Molnar , Alan Cox In-Reply-To: References: <20070216195256.GE2572@flint.arm.linux.org.uk> <1171665426.5644.99.camel@localhost.localdomain> <200702170237.42910.arnd@arndb.de> <1171684847.5644.108.camel@localhost.localdomain> <1171746949.5644.137.camel@localhost.localdomain> Content-Type: text/plain Date: Mon, 19 Feb 2007 07:01:52 +1100 Message-Id: <1171828912.5644.170.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.8.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1046 Lines: 30 > Except for the what appears to be instability of the irq numbers on > simpler configurations I don't have a problem with it. I agree that's a bit annoying and I beleive it can be fixed. In additionm I'd like to look into exposing the domain/HW number -> virq mapping somewhere in sysfs maybe. > Until we find a solution for the user space side of things we seem to > need the unsigned int irq number for user space. Now I don't want > people mapping back and forth which is why I don't intend to provide a > reverse function. Ok. > But of course there will be a for_each_irq in the genirq layer so if > people really want to they will be able to go from the linux irq to > an irq_desc. But we don't have to export that generically (except > possibly something for the isa irqs). Ok. Ben. - 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/