From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mo-p05-ob.rzone.de (mo-p05-ob.rzone.de [81.169.146.182]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id C9A6FB6F9B for ; Wed, 25 May 2011 19:57:30 +1000 (EST) From: Stefan Roese To: Benjamin Herrenschmidt Subject: Re: Kernel cannot see PCI device Date: Wed, 25 May 2011 11:57:12 +0200 References: <1306273388.7481.240.camel@pasglop> In-Reply-To: <1306273388.7481.240.camel@pasglop> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Message-Id: <201105251157.12537.sr@denx.de> Cc: Bjorn Helgaas , "linux-pci@vger.kernel.org" , Prashant Bhole , linuxppc-dev , Tirumala Marri List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tuesday 24 May 2011 23:43:08 Benjamin Herrenschmidt wrote: > On Tue, 2011-05-24 at 10:25 +0530, Prashant Bhole wrote: > > Fixed the problem by soft resetting the PCIe port in the function > > ppc460ex_pciex_port_init_hw(). > > Is it a right thing to do? > Well, it's odd that you'd have to do that, maybe something the > bootloader is doing ? > > I personally don't mind but I'd like Stefan and/or Tirumala opinion on > this. Not sure. I had no problems with the PCIe cards I tested with the current code. But from my experience, this card reset behavior is highly card/device dependent. It would be good to know that this new code doesn't break detection of other PCIe cards/devices. Prashant, did you check this new code with other PCIe cards/devices as well? If this patch doesn't break other PCIe cards like the Intel PRO/1000, then: Acked-by: Stefan Roese Cheers, Stefan