From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ebiederm.dsl.xmission.com (ebiederm.dsl.xmission.com [166.70.28.69]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id D003767C71 for ; Wed, 8 Nov 2006 12:34:00 +1100 (EST) From: ebiederm@xmission.com (Eric W. Biederman) To: Benjamin Herrenschmidt Subject: Re: [RFC/PATCH 4/7] Powerpc MSI implementation References: <1162884080.585336.70559261997.qpush@cradle> <20061107072125.68E9F67CA7@ozlabs.org> <20061107200730.GY27140@parisc-linux.org> <20061107201436.GE9533@flint.arm.linux.org.uk> <20061107204432.GZ27140@parisc-linux.org> <20061107204853.GF9533@flint.arm.linux.org.uk> <20061107210202.GA27140@parisc-linux.org> <20061107222514.GG9533@flint.arm.linux.org.uk> <1162938562.28571.531.camel@localhost.localdomain> <1162944905.28571.551.camel@localhost.localdomain> Date: Tue, 07 Nov 2006 18:33:00 -0700 In-Reply-To: <1162944905.28571.551.camel@localhost.localdomain> (Benjamin Herrenschmidt's message of "Wed, 08 Nov 2006 11:15:04 +1100") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Matthew Wilcox , Greg Kroah-Hartman , Ingo Molnar , Russell King , linuxppc-dev@ozlabs.org, Thomas Gleixner , linux-pci@atrey.karlin.mff.cuni.cz, "David S.Miller" List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Benjamin Herrenschmidt writes: >> For message signalled interrupts and hyptertransport interrupts we probably > want >> to add an additional field for pointing to their per irq state. Per device >> interrupt controllers are truly peculiar. > > A per-irq addition field for the MSI data might indeed be useful. I > still want to store it in the pci_dev, but it would be good to have a > pointer to it in the irq_desc. The msi_info in pci_dev is reasonable. But storing all 4096 possible msi_desc's in pci_dev seems a little much. Hopefully I can look at this a little more this evening and see what we need to do to harmonize the two msi implementations. Eric