Re: Kernel cannot see PCI device

2011-05-25 Thread Prashant Bhole
On Wed, May 25, 2011 at 3:27 PM, Stefan Roese wrote: > 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 r

Re: Kernel cannot see PCI device

2011-05-25 Thread Stefan Roese
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

Re: Kernel cannot see PCI device

2011-05-24 Thread Benjamin Herrenschmidt
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? > Following is the patch for kernel 2.6.38.4: > ---

Re: Kernel cannot see PCI device

2011-05-23 Thread Prashant Bhole
Hi, On Fri, May 20, 2011 at 4:49 AM, Bjorn Helgaas wrote: > On Thu, May 19, 2011 at 5:12 PM, Benjamin Herrenschmidt > wrote: >> On Thu, 2011-05-19 at 11:58 -0600, Bjorn Helgaas wrote: >>> The scan below PCIX0 (bus 0001:00) doesn't find anything.  You really >>> need a powerpc expert to help here

Re: Kernel cannot see PCI device

2011-05-19 Thread Bjorn Helgaas
On Thu, May 19, 2011 at 5:12 PM, Benjamin Herrenschmidt wrote: > On Thu, 2011-05-19 at 11:58 -0600, Bjorn Helgaas wrote: >> The scan below PCIX0 (bus 0001:00) doesn't find anything.  You really >> need a powerpc expert to help here, but in their absence, my guess >> would be something's wrong with

Re: Kernel cannot see PCI device

2011-05-19 Thread Benjamin Herrenschmidt
On Thu, 2011-05-19 at 11:58 -0600, Bjorn Helgaas wrote: > The scan below PCIX0 (bus 0001:00) doesn't find anything. You really > need a powerpc expert to help here, but in their absence, my guess > would be something's wrong with config space access, so I would start > by just adding some printks

Re: Kernel cannot see PCI device

2011-05-19 Thread Bjorn Helgaas
On Thu, May 19, 2011 at 6:41 AM, Prashant Bhole wrote: > On Wed, May 18, 2011 at 7:44 PM, Bjorn Helgaas wrote: >> On Wed, May 18, 2011 at 4:02 AM, Prashant Bhole >> wrote: >>> On Mon, May 2, 2011 at 10:21 AM, Prashant Bhole >>> wrote: I have a custom made powerpc 460EX board. On that

Re: Kernel cannot see PCI device

2011-05-19 Thread Prashant Bhole
Hi, On Wed, May 18, 2011 at 7:44 PM, Bjorn Helgaas wrote: > On Wed, May 18, 2011 at 4:02 AM, Prashant Bhole > wrote: >> On Mon, May 2, 2011 at 10:21 AM, Prashant Bhole >> wrote: >>> >>> Hi, >>> I have a custom made powerpc 460EX board. On that board u-boot >>> can see a PCI device but Linux ker

Re: Kernel cannot see PCI device

2011-05-18 Thread Bjorn Helgaas
On Wed, May 18, 2011 at 4:02 AM, Prashant Bhole wrote: > On Mon, May 2, 2011 at 10:21 AM, Prashant Bhole > wrote: >> >> Hi, >> I have a custom made powerpc 460EX board. On that board u-boot >> can see a PCI device but Linux kernel cannot see it. What could be the >> problem? >> >> On u-boot "pci