From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750724AbWFUBmA (ORCPT ); Tue, 20 Jun 2006 21:42:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750728AbWFUBmA (ORCPT ); Tue, 20 Jun 2006 21:42:00 -0400 Received: from srv5.dvmed.net ([207.36.208.214]:14212 "EHLO mail.dvmed.net") by vger.kernel.org with ESMTP id S1750724AbWFUBl7 (ORCPT ); Tue, 20 Jun 2006 21:41:59 -0400 Message-ID: <4498A3D7.6030406@garzik.org> Date: Tue, 20 Jun 2006 21:41:43 -0400 From: Jeff Garzik User-Agent: Thunderbird 1.5.0.4 (X11/20060614) MIME-Version: 1.0 To: Benjamin Herrenschmidt CC: "Eric W. Biederman" , Andrew Morton , linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, linux-pci@atrey.karlin.mff.cuni.cz, discuss@x86-64.org, Ingo Molnar , Thomas Gleixner , Andi Kleen , Natalie Protasevich , Len Brown , Kimball Murray , Brice Goglin , Greg Lindahl , Dave Olson , Greg KH , Grant Grundler , "bibo,mao" , Rajesh Shah , Mark Maule , Jesper Juhl , Shaohua Li , Matthew Wilcox , "Michael S. Tsirkin" , Ashok Raj , Randy Dunlap , Roland Dreier , Tony Luck Subject: Re: [PATCH 9/25] irq: Add a dynamic irq creation API References: <11508425183073-git-send-email-ebiederm@xmission.com> <11508425191381-git-send-email-ebiederm@xmission.com> <11508425192220-git-send-email-ebiederm@xmission.com> <11508425191063-git-send-email-ebiederm@xmission.com> <1150842520235-git-send-email-ebiederm@xmission.com> <11508425201406-git-send-email-ebiederm@xmission.com> <1150842520775-git-send-email-ebiederm@xmission.com> <11508425213394-git-send-email-ebiederm@xmission.com> <115084252131-git-send-email-ebiederm@xmission.com> <1150847764.1901.64.camel@localhost.localdomain> <1150853583.12507.53.camel@localhost.localdomain> In-Reply-To: <1150853583.12507.53.camel@localhost.localdomain> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -4.2 (----) X-Spam-Report: SpamAssassin version 3.1.3 on srv5.dvmed.net summary: Content analysis details: (-4.2 points, 5.0 required) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Benjamin Herrenschmidt wrote: > I have neither b) nor c) nowadays on powerpc.... "linux" irq numbers are > purely a virtual thing, that is an index in irq_desc array and something > we give to drivers to do request_irq() from. They can map onto hw > interrupts, MSI-like messages, environment interrupts, could be > hypervisor messgaes, in fact, it could be anything that remotely looks > like an interrupt and the concept of "hw vector" is very blurry here... > every interrupt controller defines it's own hardware vector space. On > pSeries, hardware vectors are fairly big numbers that can encode the > geographical location of the slot where the device is connected to, on > some other hypervisor, they are 64 bits "tokens" representing an > hypervisor object that can send events, etc etc.... Indeed... The return value from return_irq() is purely a cookie, and has been for quite some time. Jeff