From: Segher Boessenkool Date: Tue, 04 Mar 2008 20:59:28 +0000 Subject: Re: [kvm-ppc-devel] Bamboo PCI interrupt issues Message-Id: <1a852cd10d2aab54aaa7d810649ab1b3@kernel.crashing.org> List-Id: 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> In-Reply-To: <1204663317.21545.73.camel@pasglop> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: benh@kernel.crashing.org Cc: kvm-ppc-devel , linuxppc-dev@ozlabs.org, Stefan Roese , Hollis Blanchard >> 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? :-) Segher ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ kvm-ppc-devel mailing list kvm-ppc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-ppc-devel