Re: [PATCH v2 02/16] pci: quirks: add quirk to avoid AMD NL to bind with xhci

2014-10-27 Thread Bjorn Helgaas
On Sun, Oct 26, 2014 at 8:55 PM, Huang Rui wrote: > On Fri, Oct 24, 2014 at 10:35:29AM -0600, Bjorn Helgaas wrote: >> On Fri, Oct 17, 2014 at 04:53:27PM +0800, Huang Rui wrote: >> > +/* FIXME should define in */ >> > +#define PCI_DEVICE_ID_AMD_NL 0x7912 >> >> If you KNOW this should be in

Re: [PATCH v2 02/16] pci: quirks: add quirk to avoid AMD NL to bind with xhci

2014-10-26 Thread Huang Rui
On Fri, Oct 24, 2014 at 10:35:29AM -0600, Bjorn Helgaas wrote: > On Fri, Oct 17, 2014 at 04:53:27PM +0800, Huang Rui wrote: > > The dwc3 controller is the PCI-E device in AMD NL platform, but the class > > code > > of PCI header is 0x0c0330, the same with xHC. That's because it needs to > > meet

Re: [PATCH v2 02/16] pci: quirks: add quirk to avoid AMD NL to bind with xhci

2014-10-24 Thread Bjorn Helgaas
On Fri, Oct 17, 2014 at 04:53:27PM +0800, Huang Rui wrote: > The dwc3 controller is the PCI-E device in AMD NL platform, but the class code > of PCI header is 0x0c0330, the same with xHC. That's because it needs to meet > the windows enviroment. The dwc3 controller acted as only host mode to bind

[PATCH v2 02/16] pci: quirks: add quirk to avoid AMD NL to bind with xhci

2014-10-17 Thread Huang Rui
The dwc3 controller is the PCI-E device in AMD NL platform, but the class code of PCI header is 0x0c0330, the same with xHC. That's because it needs to meet the windows enviroment. The dwc3 controller acted as only host mode to bind with windows xhci driver. But on linux, sometimes, it would auto-b