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 9DBC0DDDF6 for ; Thu, 11 Jan 2007 16:28:25 +1100 (EST) Subject: Re: [PATCH] powerpc: Fix irq routing on some PowerMac 32 bits From: Benjamin Herrenschmidt To: Zang Roy-r61911 In-Reply-To: <1168493104.6411.10.camel@localhost.localdomain> References: <1165806548.7260.0.camel@localhost.localdomain> <1168398002.571.3.camel@localhost.localdomain> <1168399012.22458.328.camel@localhost.localdomain> <1168400086.700.12.camel@localhost.localdomain> <1168401489.22458.332.camel@localhost.localdomain> <1168419440.1704.16.camel@localhost.localdomain> <1168431197.22458.336.camel@localhost.localdomain> <1168493104.6411.10.camel@localhost.localdomain> Content-Type: text/plain Date: Thu, 11 Jan 2007 16:28:16 +1100 Message-Id: <1168493297.22458.394.camel@localhost.localdomain> Mime-Version: 1.0 Cc: linuxppc-dev list , Paul Mackerras List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , > The problem was induced by PCI bridge just as Haiying explained. Until > now, we do not describe PCI bridge in device tree. Only PCI host has the > "reg" property. We can not identify the PCI device on bus 0 or bus 1 by > node in device tree. The difference between device tree and OF might > introduce potential bugs for PCI bus. We should consider the difference. That's fine, there is no problem in doing that, though I do recommend as a general rule to put PCI-to-PCI bridges that are soldered on the board in the device-tree, you don't absolutely have to. > > In any case, a patch is definitely needed to properly check for NULL > > and > > should get into 2.6.20, so if you want to do it, it will be much > > welcome ! > I will provide it later. This urgent, I'll do a patch myself and send it to paulus. Ben.