Re: problem PCIe LSI detected at 32 device addresses (ppc460ex)

2011-04-03 Thread Benjamin Herrenschmidt
Ok, I've narrowed the scope of the problem some. I moved forward to a more recent kernel (2.6.31 to 2.6.36) and that resolved the problem of the controller showing up as every device on the bus. However, from 2.6.37 to the current HEAD, I have not been able to build a kernel to run on the

Re: problem PCIe LSI detected at 32 device addresses (ppc460ex)

2011-04-03 Thread Grant Likely
On Sun, Apr 3, 2011 at 3:52 PM, Benjamin Herrenschmidt b...@kernel.crashing.org wrote: Ok, I've narrowed the scope of the problem some.  I moved forward to a more recent kernel (2.6.31 to 2.6.36) and that resolved the problem of the controller showing up as every device on the bus. However,

[PATCH v13 00/10] Add-Synopsys-DesignWare-HS-USB-OTG-driver

2011-04-03 Thread tmarri
From: Tirumala Marri tma...@apm.com v13: 1. Remove redundant CONFIG VARIABLE from drivers/usb/dwc/Kconfig. v12: 1. dwc directory moved from otg to usb directory. Tirumala Marri (10): USB/ppc4xx: Add Synopsys DWC OTG Register definitions USB/ppc4xx: Add Synopsys DWC OTG driver framework

[PATCH v13 01/10] USB/ppc4xx: Add Synopsys DWC OTG Register definitions

2011-04-03 Thread tmarri
From: Tirumala Marri tma...@apm.com Add Synopsys Design Ware core register definitions. Signed-off-by: Tirumala R Marri tma...@apm.com Signed-off-by: Fushen Chen fc...@apm.com Signed-off-by: Mark Miesfeld mmiesf...@apm.com --- drivers/usb/dwc/regs.h | 1326

[PATCH v13 02/10] USB/ppc4xx: Add Synopsys DWC OTG driver framework

2011-04-03 Thread tmarri
From: Tirumala Marri tma...@apm.com Platform probing is in dwc_otg_apmppc.c. Driver parameter and parameter checking are in dwc_otg_param.c. Signed-off-by: Tirumala R Marri tma...@apm.com Signed-off-by: Fushen Chen fc...@apm.com Signed-off-by: Mark Miesfeld mmiesf...@apm.com ---

[PATCH v13 05/10] USB/ppc4xx: Add Synopsys DWC OTG HCD interrupt function

2011-04-03 Thread tmarri
From: Tirumala Marri tma...@apm.com Implements DWC OTG USB HCD interrupt service routine. Signed-off-by: Tirumala R Marri tma...@apm.com Signed-off-by: Fushen Chen fc...@apm.com Signed-off-by: Mark Miesfeld mmiesf...@apm.com --- drivers/usb/dwc/hcd_intr.c | 1477

[PATCH v13 06/10] USB/ppc4xx: Add Synopsys DWC OTG HCD queue function

2011-04-03 Thread tmarri
From: Tirumala Marri tma...@apm.com Implements functions to manage Queue Heads and Queue Transfer Descriptors of DWC USB OTG Controller. Signed-off-by: Tirumala R Marri tma...@apm.com Signed-off-by: Fushen Chen fc...@apm.com Signed-off-by: Mark Miesfeld mmiesf...@apm.com ---

[PATCH v13 07/10] USB/ppc4xx: Add Synopsys DWC OTG PCD function

2011-04-03 Thread tmarri
From: Tirumala Marri tma...@apm.com The PCD is responsible for translating requests from the gadget driver to appropriate actions on the DWC OTG controller. Signed-off-by: Tirumala R Marri tma...@apm.com Signed-off-by: Fushen Chen fc...@apm.com Signed-off-by: Mark Miesfeld mmiesf...@apm.com ---

[PATCH v13 09/10] USB ppc4xx: Add Synopsys DWC OTG driver kernel configuration and Makefile

2011-04-03 Thread tmarri
From: Tirumala Marri tma...@apm.com Add Synopsys DesignWare HS USB OTG driver kernel configuration. Synopsys OTG driver may operate in host only, device only, or OTG mode. The driver also allows user configure the core to use its internal DMA or Slave (PIO) mode. Signed-off-by: Tirumala R Marri

[PATCH v13 10/10] USB/ppc4xx:Synopsys DWC OTG driver enable gadget support

2011-04-03 Thread tmarri
From: Tirumala Marri tma...@apm.com Enable gadget support Signed-off-by: Tirumala R Marri tma...@apm.com Signed-off-by: Fushen Chen fc...@apm.com Signed-off-by: Mark Miesfeld mmiesf...@apm.com --- drivers/usb/gadget/Kconfig| 11 +++ drivers/usb/gadget/gadget_chips.h |9

Re: problem PCIe LSI detected at 32 device addresses (ppc460ex)

2011-04-03 Thread Ayman El-Khashab
On Sun, Apr 03, 2011 at 04:09:26PM -0600, Grant Likely wrote: On Sun, Apr 3, 2011 at 3:52 PM, Benjamin Herrenschmidt b...@kernel.crashing.org wrote: Ok, I've narrowed the scope of the problem some. ?I moved forward to a more recent kernel (2.6.31 to 2.6.36) and that resolved the problem

[RFC/PATCH] of: Match PCI devices to OF nodes generically

2011-04-03 Thread Benjamin Herrenschmidt
powerpc has two different ways of matching PCI devices to their corresponding OF node (if any) for historical reasons. The ppc64 one does a scan looking for matching bus/dev/fn, while the ppc32 one does a scan looking only for matching dev/fn on each level in order to be agnostic to busses being

Re: [RFC/PATCH] of: Match PCI devices to OF nodes generically

2011-04-03 Thread Benjamin Herrenschmidt
On Mon, 2011-04-04 at 12:04 +1000, Benjamin Herrenschmidt wrote: powerpc has two different ways of matching PCI devices to their corresponding OF node (if any) for historical reasons. The ppc64 one does a scan looking for matching bus/dev/fn, while the ppc32 one does a scan looking only for