From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754546Ab0JCSfv (ORCPT ); Sun, 3 Oct 2010 14:35:51 -0400 Received: from www.tglx.de ([62.245.132.106]:48730 "EHLO www.tglx.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751278Ab0JCSft (ORCPT ); Sun, 3 Oct 2010 14:35:49 -0400 Date: Sun, 3 Oct 2010 20:34:29 +0200 (CEST) From: Thomas Gleixner To: "Eric W. Biederman" cc: Benjamin Herrenschmidt , LKML , linux-arch@vger.kernel.org, Linus Torvalds , Andrew Morton , x86@kernel.org, Peter Zijlstra , Paul Mundt , Russell King , David Woodhouse , Jesse Barnes , Yinghai Lu , Grant Likely Subject: Re: [patch 46/47] powerpc: Use new irq allocator In-Reply-To: Message-ID: References: <20100930221351.682772535@linutronix.de> <20100930221743.014571381@linutronix.de> <1285893737.2463.4.camel@pasglop> User-Agent: Alpine 2.00 (LFD 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 3 Oct 2010, Eric W. Biederman wrote: > Thomas Gleixner writes: > > >> That would make things much cleaner and in fact move one large step > >> toward being able to make powerpc virq scheme generic, which seems to be > >> a good idea from what I've heard :-) > > > > Yep. > > I'm not certain about making the ppc virq scheme generic. Maybe it is > just my distorted impression but I have the understanding that ppc irq > numbers mean nothing and are totally unstable whereas on x86 irq numbers > in general are stable (across kernel upgrades and changes in device > probe order) and the irq number has a useful hardware meaning. Which > means you don't have to go through several layers of translation tables > to figure out which hardware pin you are talking about. Nobody is forced to use it, but we have already several instances of virq mapping implementations in arch/*. Having a generic infrastructure for this makes a ton of sense. Thanks, tglx