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 ESMTPS id C04FEDE1C8 for ; Sat, 31 Jan 2009 15:42:45 +1100 (EST) Subject: RE: Broken PCI on Sequoia From: Benjamin Herrenschmidt To: Feng Kan In-Reply-To: <2B3B2AA816369A4E87D7BE63EC9D2F260674E7E3@SDCEXCHANGE01.ad.amcc.com> References: <1233267061.18767.5.camel@pasglop> <20090130001842.GB3943@zod.rchland.ibm.com> <1233281333.18767.15.camel@pasglop> <1233349323.18767.31.camel@pasglop> <1233351024.18767.32.camel@pasglop> <2B3B2AA816369A4E87D7BE63EC9D2F260674E7E3@SDCEXCHANGE01.ad.amcc.com> Content-Type: text/plain Date: Sat, 31 Jan 2009 15:42:33 +1100 Message-Id: <1233376953.18767.40.camel@pasglop> Mime-Version: 1.0 Cc: Geert Uytterhoeven , Linux/PPC Development List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Fri, 2009-01-30 at 17:19 -0800, Feng Kan wrote: > Hi: > It looks like the top bit is hard coded to 1. There doesn't seem to > be anyway > Of changing it. Thanks ! Would it be possible for you to check other 4xx parts using that PCI controller as to whether the top bit is always hard-coded to 1 or it changes from part to part ? Thanks ! Cheers, Ben. > Feng Kan > AMCC Engineering > > -----Original Message----- > From: linuxppc-dev-bounces+fkan=amcc.com@ozlabs.org > [mailto:linuxppc-dev-bounces+fkan=amcc.com@ozlabs.org] On Behalf Of > Benjamin Herrenschmidt > Sent: Friday, January 30, 2009 1:30 PM > To: Geert Uytterhoeven > Cc: Linux/PPC Development > Subject: Re: Broken PCI on Sequoia > > > > For that sort of 4xx PHB (ie, the PCI 2.x ones, not the PCI-X nor the > > PCI-E), we only know how to program 32-bit of PLB address. IE. The old > > code would have cropped the plb_addr when writing to the register, the > > new code complains. > > > > I suspect some implementation support a register to put the "high" > part > > of the PLB address, and that it already contains 1, so the old code > > would have worked by chance, the new code doesn't because it bails > out. > > Hrm... from the doco it's also one 32-bit register... I'm starting to > think that those guys always assume the top 1 bit is set or something > like that ... > > The doc is unclear. Maybe somebody form AMCC can confirm ? > > Cheers, > Ben. > > > _______________________________________________ > Linuxppc-dev mailing list > Linuxppc-dev@ozlabs.org > https://ozlabs.org/mailman/listinfo/linuxppc-dev