From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id C2C2CDDF5A for ; Wed, 5 Mar 2008 08:02:02 +1100 (EST) Subject: Re: Bamboo PCI interrupt issues From: Benjamin Herrenschmidt To: Segher Boessenkool In-Reply-To: <1a852cd10d2aab54aaa7d810649ab1b3@kernel.crashing.org> References: <1204588953.7921.13.camel@basalt> <20080303213718.12291eee@zod.rchland.ibm.com> <200803040715.22301.sr@denx.de> <1204612384.21545.50.camel@pasglop> <9eeb7e8e1acf8a9217a5121fe4ec69d8@kernel.crashing.org> <1204663317.21545.73.camel@pasglop> <1a852cd10d2aab54aaa7d810649ab1b3@kernel.crashing.org> Content-Type: text/plain Date: Wed, 05 Mar 2008 08:01:30 +1100 Message-Id: <1204664490.21545.84.camel@pasglop> Mime-Version: 1.0 Cc: kvm-ppc-devel , linuxppc-dev@ozlabs.org, Stefan Roese , Hollis Blanchard Reply-To: benh@kernel.crashing.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, 2008-03-04 at 21:59 +0100, Segher Boessenkool wrote: > >> More generally, the target interrupt descriptors (sense values, in > >> particular) in a device tree interrupt map describe the interrupts as > >> seen on the target interrupt controller, *not* as seen on this > >> (source) > >> interrupt domain. This should be obvious, but since the source > >> interrupt > >> descriptor for PCI doesn't have a sense value (it's always level low, > >> after all), it can be confusing. Well, interrupts always are > >> confusing > >> :-) > > > > Sure. But if your stupid bridge sticks a not gate between the PIRQ > > input > > and the UIC (interrupt controller), effectively, the UIC sees a > > reversed > > polarity. Thus you need to put in your interrupt map a reversed > > polarity > > information for the UIC interrupt specifiers. > > That's what I said, isn't it? :-) Maybe, I wasn't sure I decrypted you properly :-) Ben.